|
@@ -78,16 +78,16 @@ case "$1" in
|
|
log_daemon_msg "Starting $DESC" "$NAME"
|
|
log_daemon_msg "Starting $DESC" "$NAME"
|
|
do_start
|
|
do_start
|
|
case "$?" in
|
|
case "$?" in
|
|
- 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
|
|
|
- 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
|
|
|
|
|
+ 0|1) log_end_msg 0 ;;
|
|
|
|
+ 2) log_end_msg 1 ;;
|
|
esac
|
|
esac
|
|
;;
|
|
;;
|
|
stop)
|
|
stop)
|
|
log_daemon_msg "Stopping $DESC" "$NAME"
|
|
log_daemon_msg "Stopping $DESC" "$NAME"
|
|
do_stop
|
|
do_stop
|
|
case "$?" in
|
|
case "$?" in
|
|
- 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
|
|
|
- 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
|
|
|
|
|
+ 0|1) log_end_msg 0 ;;
|
|
|
|
+ 2) log_end_msg 1 ;;
|
|
esac
|
|
esac
|
|
;;
|
|
;;
|
|
status)
|
|
status)
|