aboutsummaryrefslogtreecommitdiff
path: root/examples/etc/ninit/halt/run
diff options
context:
space:
mode:
Diffstat (limited to 'examples/etc/ninit/halt/run')
-rwxr-xr-xexamples/etc/ninit/halt/run7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/etc/ninit/halt/run b/examples/etc/ninit/halt/run
new file mode 100755
index 0000000..032843d
--- /dev/null
+++ b/examples/etc/ninit/halt/run
@@ -0,0 +1,7 @@
+#!/bin/serdo -c
+
+sleep 5
+. /etc/ninit/reboot/stop_all
+
+/sbin/ninit-runlevel 0 /etc/rc.d/rc.0
+exec /sbin/ninit-reboot ENABLE_CAD