diff options
Diffstat (limited to 'core/runit/ctrlaltdel')
| -rw-r--r-- | core/runit/ctrlaltdel | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/runit/ctrlaltdel b/core/runit/ctrlaltdel new file mode 100644 index 0000000..f4c2b65 --- /dev/null +++ b/core/runit/ctrlaltdel @@ -0,0 +1,13 @@ +#!/bin/sh +# /etc/runit/ctrlaltdel - Handle Ctrl+Alt+Del + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +export PATH + +touch /etc/runit/reboot +chmod 100 /etc/runit/reboot + +touch /etc/runit/stopit +chmod 100 /etc/runit/stopit + +echo 'System is going down NOW!' | wall 2>/dev/null |
