SVN: rc-scripts/trunk/rc.d/rc.shutdown
glen
glen at pld-linux.org
Sat Jun 1 09:59:08 CEST 2013
Author: glen
Date: Sat Jun 1 09:59:08 2013
New Revision: 12691
Modified:
rc-scripts/trunk/rc.d/rc.shutdown
Log:
eval halt makes no sense, added in r574 doesn't give any clue either
Modified: rc-scripts/trunk/rc.d/rc.shutdown
==============================================================================
--- rc-scripts/trunk/rc.d/rc.shutdown (original)
+++ rc-scripts/trunk/rc.d/rc.shutdown Sat Jun 1 09:59:08 2013
@@ -172,7 +172,7 @@
[ -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 @@
fail
fi
- [ "$previous" != "unknown" ] && eval reboot -d -f
+ [ "$previous" != "unknown" ] && reboot -d -f
fi
More information about the pld-cvs-commit
mailing list