Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- set -e
- if [ "$2" = "suspend" ] || [ "$2" = "hybrid-sleep" ]; then
- case "$1" in
- pre) true ;;
- post) sleep 1 && service network-manager restart ;;
- esac
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement