Define HOME so cron task works on EL6

tags/0.1.8_el5 0.1.8_el5
Daniel Berteaud 10 years ago
parent 432eaa8de8
commit 3c7d17a2e5
  1. 2
      root/etc/cron.daily/qpsmtpd-db-cleanup

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

Loading…
Cancel
Save