diff --git a/vpn.sh b/vpn.sh index 95674cc..19c65e6 100755 --- a/vpn.sh +++ b/vpn.sh @@ -9,7 +9,11 @@ case "$1" in pass git checkout nico-privat pass tws/nschottelius1 > /dev/null - authgroup=Europe + if [ "$2" ]; then + authgroup="$2" + else + authgroup=Europe + fi # Try to input the password directly, revert to non input if it fails pass tws/nschottelius1 | sudo openconnect --protocol=gp portal.techcorpapps.com \