Created
February 25, 2015 09:15
-
-
Save marc-hanheide/8b79676812f8710b90bb to your computer and use it in GitHub Desktop.
reconnect NetworkManager to a specific network everytime it's lost
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
# every minute check if connection is still alive and try reconnecting if it's not | |
*/1 * * * * /usr/bin/nmcli c status id STRANDS-AAF > /dev/null || /usr/bin/nmcli c up id STRANDS-AAF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment