aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-10-22 14:47:20 +0000
committerBill Nottingham <notting@redhat.com>1999-10-22 14:47:20 +0000
commit3711d5685b60e0b37a9d4de99de1b10fc4ea7b2e (patch)
treedc20af731eceddc5089ec159001a7d805eb1f3dc
parentf735b07c1a0a180eba7ab15ea9b9df406089a7bb (diff)
downloadinitscripts-3711d5685b60e0b37a9d4de99de1b10fc4ea7b2e.tar
initscripts-3711d5685b60e0b37a9d4de99de1b10fc4ea7b2e.tar.gz
initscripts-3711d5685b60e0b37a9d4de99de1b10fc4ea7b2e.tar.bz2
initscripts-3711d5685b60e0b37a9d4de99de1b10fc4ea7b2e.tar.xz
initscripts-3711d5685b60e0b37a9d4de99de1b10fc4ea7b2e.zip
call reboot -f to avoid silliness
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 63d49d2c..eae3f79f 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -199,7 +199,7 @@ if [ ! -f /fastboot ]; then
umount -a
mount -n -o remount,ro /
echo "Automatic reboot in progress."
- reboot
+ reboot -f
elif [ "$rc" = "1" ]; then
_RUN_QUOTACHECK=1
fi
@@ -360,7 +360,7 @@ if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
umount -a
mount -n -o remount,ro /
echo "Automatic reboot in progress."
- reboot
+ reboot -f
fi
fi
@@ -394,7 +394,7 @@ if [ ! -f /fastboot ]; then
umount -a
mount -n -o remount,ro /
echo "Automatic reboot in progress."
- reboot
+ reboot -f
elif [ "$rc" = "1" -a -x /sbin/quotacheck ]; then
action "Checking filesystem quotas" /sbin/quotacheck -v -R -a
fi