Define HOME so cron task works on EL6

This commit is contained in:
Daniel Berteaud 2014-06-26 06:51:52 +02:00
parent 432eaa8de8
commit 3c7d17a2e5
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
HOME=/root
LOG=$(/sbin/e-smith/db configuration getprop qpsmtpd Log2Sql || echo 'disabled')
if [ "$LOG" != "enabled" ]; then