further adaption to LSB

This commit is contained in:
marschap
2006-10-06 16:46:57 +00:00
parent 246eb132cc
commit d09d19434b
4 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -11,7 +11,6 @@
# server daemon in the LCDproc suite
### END INIT INFO
set -e
# local variables
PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -35,12 +34,13 @@ if [ -z "${OPTIONS}" ]; then
OPTIONS="-c /etc/lcdproc/LCDd.conf"
fi
# sanity check
test -x $DAEMON || exit 0
# installation check
test -x $DAEMON || exit 5
# load LSB 3.x init functions
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting $DESC" "$NAME"
@@ -59,7 +59,7 @@ case "$1" in
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2
exit 1
exit 2
;;
esac
+4 -4
View File
@@ -11,7 +11,6 @@
# status information viewer in the LCDproc suite
### END INIT INFO
set -e
# local variables
PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -30,12 +29,13 @@ if [ "${START}" != "yes" ]; then
exit 0
fi
# sanity check
test -x $DAEMON || exit 0
# installation check
test -x $DAEMON || exit 5
# load LSB 3.x init functions
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting $DESC" "$NAME"
@@ -54,7 +54,7 @@ case "$1" in
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2
exit 1
exit 2
;;
esac
+4 -4
View File
@@ -11,7 +11,6 @@
# start programs from the LCDd menu in the LCDproc suite
### END INIT INFO
set -e
# local variables
PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -30,12 +29,13 @@ if [ "${START}" != "yes" ]; then
exit 0
fi
# sanity check
test -x $DAEMON || exit 0
# installation check
test -x $DAEMON || exit 5
# load LSB 3.x init functions
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting $DESC" "$NAME"
@@ -54,7 +54,7 @@ case "$1" in
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2
exit 1
exit 2
;;
esac
+4 -4
View File
@@ -11,7 +11,6 @@
# console client in the LCDproc suite
### END INIT INFO
set -e
# local variables
PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -30,12 +29,13 @@ if [ "${START}" != "yes" ]; then
exit 0
fi
# sanity check
test -x $DAEMON || exit 0
# installation check
test -x $DAEMON || exit 5
# load LSB 3.x init functions
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting $DESC" "$NAME"
@@ -54,7 +54,7 @@ case "$1" in
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2
exit 1
exit 2
;;
esac