Test Script

This commit is contained in:
Michael Grote 2022-07-17 12:59:31 +02:00
parent 4dd494a62f
commit ea8d25ef8b

View file

@ -11,11 +11,9 @@ function lock {
rm -f /tmp/screen_locked.png
}
function reboot {
lock
sudo systemctl reboot
}
function shutdown {
lock
sudo systemctl shutdown
}
function suspend {
@ -69,4 +67,6 @@ if [[ -n "$1" ]]; then
esac
else
lock
sleep 60
display_off
fi