vpn: make it more reliable
This commit is contained in:
parent
f07681b0f7
commit
8564b09ebd
1 changed files with 4 additions and 0 deletions
4
vpn.sh
4
vpn.sh
|
@ -5,6 +5,10 @@ set -e
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
lf)
|
lf)
|
||||||
|
# Ensure we are on the right branch and pass has been unlocked
|
||||||
|
pass git checkout nico-privat
|
||||||
|
pass lionfish/nschottelius1 > /dev/null
|
||||||
|
|
||||||
pass lionfish/nschottelius1 | sudo openconnect --protocol=gp portal.techcorpapps.com --allow-insecure-crypto --user nschottelius1 --passwd-on-stdin --authgroup=Europe-1
|
pass lionfish/nschottelius1 | sudo openconnect --protocol=gp portal.techcorpapps.com --allow-insecure-crypto --user nschottelius1 --passwd-on-stdin --authgroup=Europe-1
|
||||||
;;
|
;;
|
||||||
lx)
|
lx)
|
||||||
|
|
Loading…
Reference in a new issue