-
-
Save anonymous/bd0cfd34e358d8b82515 to your computer and use it in GitHub Desktop.
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 | |
# | |
# Filename: /etc/pm/sleep.d/10_restart_network_manager | |
# | |
# Restarts Network Manager on resume from suspend. | |
# Useful if NM takes too long to find your wireless Network. | |
# Needs to be executable for root. | |
case $1 in | |
resume|thaw) | |
/bin/systemctl restart network-manager.service | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment