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: LSB init script for lcdproc, the system
11 # status information viewer in the LCDproc suite
17 exec_prefix
=@exec_prefix@
22 PATH
=/sbin
:/bin
:/usr
/sbin
:/usr
/bin
24 DAEMON
=${bindir}/$NAME
25 DESC
="LCDproc system status monitor"
26 DEFAULTS
=/etc
/default
/$NAME
29 # Source defaults file; edit that file to configure this script.
30 if [ -e "${DEFAULTS}" ]; then
34 # If we're not to start the daemon, simply exit
35 if [ "${START}" != "yes" ]; then
40 test -x $DAEMON ||
exit 5
42 # load LSB 3.x init functions
43 .
/lib
/lsb
/init-functions
48 log_daemon_msg
"Starting $DESC" "$NAME"
49 start_daemon
$DAEMON $OPTIONS
53 log_daemon_msg
"Stopping $DESC" "$NAME"
57 restart|reload|force-reload
)
63 echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2