]> git.pld-linux.org Git - packages/dictd.git/commitdiff
- LSB conformance
authorankry <ankry@pld-linux.org>
Wed, 21 May 2003 11:52:38 +0000 (11:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dictd.init -> 1.6

dictd.init

index c2fd5e6d9152b93452d684385db1ca3464992ce1..38aa0f405f547e29fcd24f6d55b66e0a62d18b75 100644 (file)
@@ -65,31 +65,29 @@ case "$1" in
                fi    
        else
                msg_already_running ${DAEMON_NAME}
-               exit 1
        fi
        ;;
   stop)
        if [ -f /var/lock/subsys/${DAEMON_FILE} ]; then
                msg_stopping ${DAEMON_NAME}
-               busy
                killproc /usr/sbin/${DAEMON_FILE} 
                rm -f /var/lock/subsys/${DAEMON_FILE} >/dev/null 2>&1
        else
                msg_not_running ${DAEMON_NAME}
-               exit 1
        fi      
        ;;
   status)
        status ${DAEMON_FILE}
+       exit $?
        ;;
-  restart|reload)
+  restart|force-reload)
        $0 stop
        $0 start
+       exit $?
        ;;
     *)
-       msg_usage "$0 {start|stop|restart|reload|status}"
-       exit 1
-       ;;
+       msg_usage "$0 {start|stop|restart|force-reload|status}"
+       exit 3
 esac
 
 exit $RETVAL
This page took 0.059802 seconds and 4 git commands to generate.