Browse Source

Remove boilerplate from the code for lock on sleep

Taylor Bockman 9 years ago
parent
commit
a81bd5804f
  1. 8
      ubuntu/99_physlock_on_hibernate_and_suspend

8
ubuntu/99_physlock_on_hibernate_and_suspend

@ -1,12 +1,8 @@
#!/bin/bash
case "$1" in
suspend|hibernate)
actions to
take
on suspend
or hibernate
;;
# suspend|hibernate)
# ;;
resume|thaw)
physlock -d &
;;

Loading…
Cancel
Save