From: Heiko Z. <smi...@us...> - 2004-09-20 12:53:40
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26401/scripts/scripts Modified Files: lcd4linux Log Message: - lcd4linux init script was missing (Heiko Zuerker + Zsiros Zolt) Index: lcd4linux =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/lcd4linux,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- lcd4linux 26 Apr 2004 23:22:04 -0000 1.1 +++ lcd4linux 20 Sep 2004 12:53:30 -0000 1.2 @@ -4,8 +4,8 @@ # Provides: lcd4linux # Required-Start: $network $syslog # Required-Stop: $network $syslog -# Default-Start: -# Default-Stop: +# Default-Start: 3 5 +# Default-Stop: 0 1 6 # Description: starts LCD4Linux ### END INIT INFO @@ -46,6 +46,11 @@ case "$1" in start) + if [ "`grep "^Port /dev/parport" $CONFIGFILE`" -a ! "`lsmod | grep ^ppdev`" ]; then + echo -n "Loadding kernel module ppdev: " + modprobe ppdev >/dev/null + evaluate_retval + fi echo -n "Starting $NAME: " loadproc $DAEMON $PARAMETER ;; |