Skip to content

Instantly share code, notes, and snippets.

Last active Dec 13, 2015
What would you like to do?
GTK interface to start openvpn
CONFIG=$(zenity --file-selection --file-filter='*.opvn' --title="Select openvpn config file")
[ -n "$CONFIG" ] || exit 1
cd $(dirname "$CONFIG")
gksudo /usr/sbin/openvpn $CONFIG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment