diff options
| author | Klaatu <[email protected]> | 2015-05-17 15:35:50 +1200 |
|---|---|---|
| committer | Klaatu <[email protected]> | 2015-05-17 15:35:50 +1200 |
| commit | e6961c90da554ef46c84f94d0db5ef37bb23f0c2 (patch) | |
| tree | e71acaa2790bae3d5dc8c56300a33111a3255b84 /examples/etc/ninit/halt/run | |
| parent | b0de699679e8f1e39af847ed172d1ba605b4370c (diff) | |
example ninit scripts
Diffstat (limited to 'examples/etc/ninit/halt/run')
| -rwxr-xr-x | examples/etc/ninit/halt/run | 7 |
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 |
