Browse Source

Remove boilerplate from the code for lock on sleep

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

8
ubuntu/99_physlock_on_hibernate_and_suspend

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

Loading…
Cancel
Save