* Fixed problem when BASEDIR paths were given without a trailing '/'.
[linux_from_scratch.git] / bootscripts / blfs / init.d / lisa
blobcd5ea8b8bb2915e500466568d9bf9d39e81e7156
1 #!/bin/sh
2 # Begin $rc_base/init.d/lisa
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
6 # LISA bootscript submitted by Randy McMurchy - LFS-User@mcmurchy.com
8 . /etc/sysconfig/rc
9 . $rc_functions
11 export PATH=$PATH:/opt/kde/bin
13 case "$1" in
14 start)
15 echo "Starting LISA Daemon..."
16 loadproc lisa
19 stop)
20 echo "Stopping LISA Daemon..."
21 killproc lisa
24 reload)
25 echo "Reloading LISA Daemon..."
26 reloadproc lisa
29 restart)
30 $0 stop
31 sleep 1
32 $0 start
35 status)
36 statusproc lisa
40 echo "Usage: $0 {start|stop|reload|restart|status}"
41 exit 1
43 esac
45 # End $rc_base/init.d/lisa