5
# Required-Start: $syslog $local_fs $network $remote_fs
6
# Required-Stop: $syslog $local_fs $network $remote_fs
7
# Default-Start: 2 3 4 5
8
# Default-Stop: S 0 1 6
9
# Short-Description: LCDproc system status information viewer
10
# Description: Debian init script for lcdproc, the system
11
# status information viewer in the LCDproc suite
16
PATH=/sbin:/bin:/usr/sbin:/usr/bin
19
DESC="LCDproc system status monitor"
20
DEFAULTS=/etc/default/$NAME
23
# Source defaults file; edit that file to configure this script.
24
if [ -e "${DEFAULTS}" ]; then
28
# If we're not to start the daemon, simply exit
29
if [ "${START}" != "yes" ]; then
34
test -x $DAEMON || exit 5
36
# load LSB 3.x init functions
37
. /lib/lsb/init-functions
42
log_daemon_msg "Starting $DESC" "$NAME"
43
start_daemon $DAEMON $OPTIONS
47
log_daemon_msg "Stopping $DESC" "$NAME"
51
restart|reload|force-reload)
57
echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2