updated by /home/nico/bin/sync-all-repos on blind

This commit is contained in:
Nico Schottelius 2023-03-28 10:20:43 +02:00
parent 6ea095aefd
commit f875dbf66d
1 changed files with 2 additions and 1 deletions

3
vpn.sh
View File

@ -9,7 +9,8 @@ case "$1" in
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
# Try to input the password directly, revert to non input if it fails
pass lionfish/nschottelius1 | sudo openconnect --protocol=gp portal.techcorpapps.com --allow-insecure-crypto --user nschottelius1 --passwd-on-stdin --authgroup=Europe-1 || sudo openconnect --protocol=gp portal.techcorpapps.com --allow-insecure-crypto --user nschottelius1 --passwd-on-stdin --authgroup=Europe-1
;;
lx)
cd ~/Nextcloud/luxembourg/nico/