Browse Source

Remove boilerplate from the code for lock on sleep

Taylor Bockman 9 years ago
parent
commit
44b5a53297
  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