]> git.pld-linux.org Git - packages/exiscan.git/commitdiff
- update to 2.4
authorareq <areq@pld-linux.org>
Sat, 15 Jun 2002 23:27:06 +0000 (23:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    exiscan.init -> 1.2

exiscan.init

index 46e5582a7f11939f5b4efa805d15b2c3d600d451..626803d19b6a62d5f5fd3ceaee6697affb1db6a7 100644 (file)
@@ -18,8 +18,8 @@
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
         if [ ! -f /var/lock/subsys/network ]; then
-                # nls "ERROR: Networking is down. %s can't be run." <service>
-                msg_network_down <service>
+                # nls "ERROR: Networking is down. %s can't be run." exiscan
+                msg_network_down exiscan
                 exit 1
         fi
 else
@@ -32,12 +32,12 @@ 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"); then
+               if ! (grep -q "queue_only.*=.*true" /etc/mail/exim.conf); then
                    deltext; fail
                    echo "exim.conf: queue_only = true is missing"
                    RETVAL=1
                else
-                   daemon exiscan /etc/mail/exiscan2.cf
+                   daemon exiscan /etc/mail/exiscan.cf
                    RETVAL=$?
                fi
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/exiscan
This page took 0.089721 seconds and 4 git commands to generate.