Files
ports/core/runit-rc/ctrlaltdel
2023-05-03 16:38:34 +02:00

8 lines
134 B
Bash
Executable File

#!/bin/sh
PATH=/bin:/usr/bin
MSG="System is rebooting..."
touch /etc/runit/stopit
chmod 100 /etc/runit/stopit && echo "$MSG" | wall