summaryrefslogtreecommitdiff
path: root/iso/etc/rc.single
diff options
context:
space:
mode:
Diffstat (limited to 'iso/etc/rc.single')
-rwxr-xr-xiso/etc/rc.single14
1 files changed, 14 insertions, 0 deletions
diff --git a/iso/etc/rc.single b/iso/etc/rc.single
new file mode 100755
index 0000000..20c737c
--- /dev/null
+++ b/iso/etc/rc.single
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# /etc/rc.single: single-user setup script
+#
+
+# Terminate all processes
+/sbin/killall5 -15
+/usr/bin/sleep 5
+/sbin/killall5 -9
+
+# Enter single-user mode
+exec /sbin/init -t1 S
+
+# End of file

Generated by cgit