Created
September 2, 2013 11:33
-
-
Save rrader/6411920 to your computer and use it in GitHub Desktop.
Script for Cron to auto reconnect home VPN
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/bash | |
if ! nmcli con status id HomeVPN &>/dev/null; then | |
nmcli con up id HomeVPN | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment