SVN: rc-scripts/branches/busybox/rc.d/rc.shutdown

baggins baggins at pld-linux.org
Thu Mar 26 14:49:10 CET 2009


Author: baggins
Date: Thu Mar 26 14:49:10 2009
New Revision: 10256

Modified:
   rc-scripts/branches/busybox/rc.d/rc.shutdown
Log:
- -d option to halt and reboot is something completely different, so remove it


Modified: rc-scripts/branches/busybox/rc.d/rc.shutdown
==============================================================================
--- rc-scripts/branches/busybox/rc.d/rc.shutdown	(original)
+++ rc-scripts/branches/busybox/rc.d/rc.shutdown	Thu Mar 26 14:49:10 2009
@@ -168,12 +168,12 @@
 		       [ -x /sbin/poweroff-ups ] && /sbin/poweroff-ups
 	       fi
 	fi
-	[ "$previous" != "unknown" ] && eval halt -d -p -f
+	[ "$previous" != "unknown" ] && eval halt -p -f
 else
 	show "Please stand by while rebooting the $_rebootwhat"; ok
 	if [ -f /fastboot ]; then
 	   	show "On the next boot fsck will be skipped."; ok
 	fi
 	[ -x /sbin/kexec ] && /sbin/kexec -e
-	[ "$previous" != "unknown" ] && eval reboot -d -f
+	[ "$previous" != "unknown" ] && eval reboot -f
 fi


More information about the pld-cvs-commit mailing list