Define HOME so cron task works on EL6
This commit is contained in:
parent
432eaa8de8
commit
3c7d17a2e5
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
HOME=/root
|
||||||
|
|
||||||
LOG=$(/sbin/e-smith/db configuration getprop qpsmtpd Log2Sql || echo 'disabled')
|
LOG=$(/sbin/e-smith/db configuration getprop qpsmtpd Log2Sql || echo 'disabled')
|
||||||
|
|
||||||
if [ "$LOG" != "enabled" ]; then
|
if [ "$LOG" != "enabled" ]; then
|
||||||
|
|
Loading…
Reference in New Issue