vpn: allow specifying endpoint
This commit is contained in:
parent
5a86af0c8e
commit
fd1c80823e
1 changed files with 5 additions and 1 deletions
6
vpn.sh
6
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 \
|
||||
|
|
Loading…
Reference in a new issue