Sorry, silly mistake.
Please consider the attached instead.

Regards,
Paddy
-- 
Perl 6 will give you the big knob. -- Larry Wall
diff -urN mailscanner-4.41.3/debian/cron.d mailscanner-4.41.3-0hs2/debian/cron.d
--- mailscanner-4.41.3/debian/cron.d    2005-07-20 19:25:32.611364026 +0100
+++ mailscanner-4.41.3-0hs2/debian/cron.d       2005-07-20 19:30:54.755422483 
+0100
@@ -9,4 +9,4 @@
 # them from stepping on each other's toes.  The worst that will
 # happen is that they will temporarily corrupt the database...
 
[EMAIL PROTECTED]       root    [ -f $LOCKFILE ] && exit 0; run_mailscanner=0; 
run_nice=0; if [ -f /etc/default/mailscanner ]; then . 
/etc/default/mailscanner; fi; [ $run_mailscanner = 0 ] && exit 0; trap "rm -f 
$LOCKFILE" EXIT; touch $LOCKFILE; /usr/bin/nice -$run_nice 
/usr/sbin/check_mailscanner >/dev/null 2>&1; exit 0
[EMAIL PROTECTED]       root    [ -f $LOCKFILE ] && exit 0; run_mailscanner=0; 
run_nice=0; if [ -f /etc/default/mailscanner ]; then . 
/etc/default/mailscanner; fi; [ $run_mailscanner = 0 ] && exit 0; [ -f 
/var/lock/subsys/MailScanner.off ] && exit 0; trap "rm -f $LOCKFILE" EXIT; 
touch $LOCKFILE; /usr/bin/nice -$run_nice /usr/sbin/check_mailscanner 
>/dev/null 2>&1; exit 0
diff -urN mailscanner-4.41.3/debian/init.d mailscanner-4.41.3-0hs2/debian/init.d
--- mailscanner-4.41.3/debian/init.d    2005-07-20 19:25:32.637361367 +0100
+++ mailscanner-4.41.3-0hs2/debian/init.d       2005-07-20 19:53:51.210622375 
+0100
@@ -80,6 +80,7 @@
        RETVAL=$?
        if [ $RETVAL -eq 0 ]; then
            touch /var/lock/subsys/mailscanner
+           rm -f /var/lock/subsys/MailScanner.off
        fi
        echo "$NAME."
        ;;
@@ -90,6 +91,7 @@
        RETVAL=$?
        if [ $RETVAL -eq 0 ]; then
            rm -f /var/lock/subsys/mailscanner
+           touch /var/lock/subsys/MailScanner.off
        fi
        if ps axww | grep -i $DAEMON | grep -qv grep; then
            echo -n "(waiting"

Reply via email to