summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/rc.reboot
diff options
context:
space:
mode:
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