]> git.pld-linux.org Git - packages/exiscan.git/commitdiff
- better check queue_only in exim configuration
authorareq <areq@pld-linux.org>
Sun, 16 Jun 2002 09:34:52 +0000 (09:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    exiscan.init -> 1.3

exiscan.init

index 626803d19b6a62d5f5fd3ceaee6697affb1db6a7..4e2f757059951de73683dfb38845df463a658cb1 100644 (file)
@@ -32,7 +32,7 @@ case "$1" in
        # Check if the service is already running?
         if [ ! -f /var/lock/subsys/exiscan ]; then
                msg_starting exiscan
-               if ! (grep -q "queue_only.*=.*true" /etc/mail/exim.conf); then
+               if ! (/usr/bin/exim -bP | grep -q "^queue_only$"); then
                    deltext; fail
                    echo "exim.conf: queue_only = true is missing"
                    RETVAL=1
This page took 0.076946 seconds and 4 git commands to generate.