Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- case $1/$2 in
- pre/*)
- echo "Going to $2..."
- # Place your pre suspend commands here, or `exit 0` if no pre suspend action required
- ;;
- post/*)
- echo "Waking up from $2..."
- systemctl restart NetworkManager.service
- pkill -f indicator-power-service
- ;;
- esac
Add Comment
Please, Sign In to add comment