Created
July 16, 2015 17:12
-
-
Save drewsberry/eb09e9f1f9876b31f84a to your computer and use it in GitHub Desktop.
Samsung Ubuntu Network Manager wifi suspend fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This was put here by Drew Silcock on 16th July 2015 in an attempt to fix | |
# Wi-Fi issues on Ellen's Samsung laptop. It should be placed under | |
# `/etc/pm/sleep.d/`. | |
case "${1}" in | |
resume|thaw) | |
service network-manager stop | |
killall wpa_supplicant | |
rm /var/lib/NetworkManager/NetworkManager.state | |
service network-manager start | |
rfkill block bluetooth | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment