summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/ctrlaltdel
blob: 2550d3c46c71c1f4e7285d7e69bb08d0d70386df (plain)
1
2
3
4
5
6
7
8
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