summaryrefslogtreecommitdiff
path: root/sys-process/runit/files/ctrlaltdel
blob: 668445738dfc22463ecf113b7e32939780c121c5 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

PATH=/bin:/usr/bin
MSG="System is going down in 14 seconds..."

# echo 'disabled.' ; exit
touch /etc/runit/stopit
chmod 100 /etc/runit/stopit && echo "$MSG" | wall
/bin/sleep 14