summaryrefslogtreecommitdiff
path: root/source/installer/sources/initrd/sbin/brc
diff options
context:
space:
mode:
Diffstat (limited to 'source/installer/sources/initrd/sbin/brc')
-rwxr-xr-xsource/installer/sources/initrd/sbin/brc19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/installer/sources/initrd/sbin/brc b/source/installer/sources/initrd/sbin/brc
new file mode 100755
index 00000000..683f471b
--- /dev/null
+++ b/source/installer/sources/initrd/sbin/brc
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# /sbin/brc (whatever that means ;)
+# This script gets run just before the system is down.
+#
+cat << EOF
+
+
+The system is rebooting NOW!
+
+Syncing disks...
+EOF
+/bin/sync
+echo
+echo "Unmounting file systems... "
+/bin/umount -a 1> /dev/null 2> /dev/null
+echo
+sleep 2
+/sbin/reboot -f