]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
eval halt makes no sense, added in r574 doesn't give any clue either
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 1 Jun 2013 07:59:08 +0000 (07:59 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 1 Jun 2013 07:59:08 +0000 (07:59 +0000)
svn-id: @12691

rc.d/rc.shutdown

index e1c4045f9ce18d7d5bc0ed7bd999da036c2c31c9..39498765acbd3a3b3305081692c72bb4188de51e 100755 (executable)
@@ -172,7 +172,7 @@ if [ "$runlevel" = "0" ] ; then
                       [ -x /sbin/poweroff-ups ] && /sbin/poweroff-ups
               fi
        fi
-       [ "$previous" != "unknown" ] && eval halt -d -p -f
+       [ "$previous" != "unknown" ] && halt -d -p -f
 else
        show "Please stand by while rebooting the $_rebootwhat"; ok
        if [ -f /fastboot ]; then
@@ -189,5 +189,5 @@ else
                fail
        fi
 
-       [ "$previous" != "unknown" ] && eval reboot -d -f
+       [ "$previous" != "unknown" ] && reboot -d -f
 fi
This page took 0.057324 seconds and 4 git commands to generate.