]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/packages/sane
sane: Update to 1.0.28
[people/pmueller/ipfire-2.x.git] / src / initscripts / packages / sane
index 98303036b197a0d8d023940acc67bad162bdea3b..6b391e9d851f162293e4bae7bd19ecab1c8f5d24 100644 (file)
@@ -8,9 +8,6 @@
 #
 # Version     : 01.00
 #
-# Notes       : runs sanedloop ibecause saned is intended
-#              for use with (x)inet.d
-#
 ########################################################################
 
 . /etc/sysconfig/rc
 case "${1}" in
        start)
                boot_mesg "Starting saned - network scanner deamon..."
-               loadproc /usr/local/bin/sanedloop
+               loadproc /usr/sbin/saned -lD
                evaluate_retval
                ;;
 
        stop)
                boot_mesg "Stopping saned - network scanner deamon..."
-               killproc sanedloop
-               killall -s KILL -w saned > /dev/null 2>&1
-               exit 0
+               killproc /usr/sbin/saned
                ;;
 
        restart)
@@ -37,7 +32,6 @@ case "${1}" in
                ;;
 
        status)
-               statusproc /usr/bin/sanedloop
                statusproc /usr/sbin/saned
                ;;