diff options
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts/ctrlaltdel')
-rwxr-xr-x | abs/mv-core/runit-scripts-mv/runitscripts/ctrlaltdel | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/ctrlaltdel b/abs/mv-core/runit-scripts-mv/runitscripts/ctrlaltdel new file mode 100755 index 0000000..2550d3c --- /dev/null +++ b/abs/mv-core/runit-scripts-mv/runitscripts/ctrlaltdel @@ -0,0 +1,9 @@ +#!/bin/sh + +PATH=/bin:/usr/bin +MSG="System is going down in 10 seconds..." + +# echo 'disabled.' ; exit +touch /etc/runit/stopit +chmod 100 /etc/runit/stopit && echo "$MSG" | wall +/bin/sleep 10 |