summary refs log tree commit diff
path: root/etc/debian/ctrlaltdel
blob: 668445738dfc22463ecf113b7e32939780c121c5 (plain) (blame)
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