Files
Server-scripts/serverhost/enable_auto_shutdown
T
2026-09-14 12:43:38 +02:00

7 lines
183 B
Bash
Executable File

#!/bin/bash
echo "yes" > /home/lucas/.auto_shutdown
if [[ "$(cat /home/lucas/.auto_shutdown)" == "yes" ]]; then
echo "Auto shutdown ENABLED"
notify-send "Auto shutdown ENABLED"
fi