summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/rc.reboot
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-04-20 20:58:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-04-20 20:58:03 +0000
commitcea41ee6a61d844cde0b4dbd6d325f351dadf4b1 (patch)
tree01d6eb78d00ec94c885a33a757500193ef1e1d85 /rescue/tree/etc/rc.reboot
parent448bd28d082118bf27c724df11b6a0a41bca9ca4 (diff)
downloaddrakx-cea41ee6a61d844cde0b4dbd6d325f351dadf4b1.tar
drakx-cea41ee6a61d844cde0b4dbd6d325f351dadf4b1.tar.gz
drakx-cea41ee6a61d844cde0b4dbd6d325f351dadf4b1.tar.bz2
drakx-cea41ee6a61d844cde0b4dbd6d325f351dadf4b1.tar.xz
drakx-cea41ee6a61d844cde0b4dbd6d325f351dadf4b1.zip
no_comment
Diffstat (limited to 'rescue/tree/etc/rc.reboot')
-rwxr-xr-xrescue/tree/etc/rc.reboot9
1 files changed, 9 insertions, 0 deletions
diff --git a/rescue/tree/etc/rc.reboot b/rescue/tree/etc/rc.reboot
new file mode 100755
index 000000000..79318f1f7
--- /dev/null
+++ b/rescue/tree/etc/rc.reboot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+sleep 1
+/sbin/killall5 -9
+
+umount -a -f -t noproc
+mount -n -o remount,ro /
+
+reboot -i -d