]> git.pld-linux.org Git - packages/bootparamd.git/commitdiff
- fixed some wrong syntax
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 26 Sep 2000 17:27:06 +0000 (17:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bootparamd.init -> 1.3

bootparamd.init

index 0230fa648f3910b32206418288619483b930fe94..69c6a8565f06fef2bb5f33f35ff4531ea64a1e4d 100644 (file)
@@ -27,8 +27,8 @@ case "$1" in
                msg_starting rpc.bootparamd
                daemon rpc.bootparamd
                touch /var/lock/subsys/rpc.bootparamd
                msg_starting rpc.bootparamd
                daemon rpc.bootparamd
                touch /var/lock/subsys/rpc.bootparamd
-               RETVAL2=$?
-               if [ $RETVAL -eq 0 -a $RETVAL2 -eq 0 ]; then
+               RETVAL=$?
+               if [ $RETVAL -eq 0 ]; then
                        touch /var/lock/subsys/rpc.bootparamd
                        RETVAL=1
                fi
                        touch /var/lock/subsys/rpc.bootparamd
                        RETVAL=1
                fi
@@ -50,7 +50,7 @@ case "$1" in
   status)
        status rpc.bootparamd
        ;;
   status)
        status rpc.bootparamd
        ;;
-  reload,restart,force-reload)
+  reload|restart|force-reload)
        $0 stop
        $0 start
        ;;
        $0 stop
        $0 start
        ;;
This page took 0.062876 seconds and 4 git commands to generate.