Test Script
This commit is contained in:
parent
4dd494a62f
commit
ea8d25ef8b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue