rustit/mirror_runit/runit-2.1.2/etc/debian/ctrlaltdel
2024-03-24 23:51:57 +00:00

9 lines
189 B
Bash
Executable file

#!/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