rustit/mirror_runit/runit-2.1.2/etc/freebsd/ctrlaltdel

10 lines
189 B
Text
Raw Permalink Normal View History

2024-03-25 00:51:57 +01:00
#!/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