]> git.pld-linux.org Git - packages/exim-lite.git/commitdiff
minor changes
authorwojtek <wojtek@pld.org.pl>
Mon, 17 May 1999 06:22:34 +0000 (06:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    exim.init -> 1.2

exim.init

index bfc3739b674fe28791777778b84119fba8d58b70..84d938feb189282a162db85b59601bf7e0167b11 100644 (file)
--- a/exim.init
+++ b/exim.init
@@ -25,7 +25,7 @@ else
 fi
 
 # Check that networking is up.
-[ ${NETWORKING} = "no" ] && exit 0
+[ "${NETWORKING}" = "no" ] && exit 0
 
 [ -f /usr/bin/exim ] || exit 0
 
@@ -33,17 +33,15 @@ fi
 case "$1" in
   start)
        # Start daemons.
-       echo -n "Starting exim: "
-       daemon /usr/bin/exim $([ "$DAEMON" = yes ] && echo -bd) \
+       show Starting exim:
+       daemon +5 exim $([ "$DAEMON" = yes ] && echo -bd) \
                                   $([ -n "$QUEUE" ] && echo -q$QUEUE)
-       echo
        touch /var/lock/subsys/exim
        ;;
   stop)
        # Stop daemons.
-       echo -n "Shutting down exim: "
+       show Shutting down exim:
        killproc exim
-       echo
        rm -f /var/lock/subsys/exim
        ;;
   restart)
@@ -54,7 +52,7 @@ case "$1" in
        status exim
        ;;
   *)
-       echo "Usage: exim {start|stop|restart|status}"
+       echo "Usage: $0 {start|stop|restart|status}"
        exit 1
 esac
 
This page took 0.097185 seconds and 4 git commands to generate.