2022-02-15 12:46:10 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# 2022-02-10, 10:25, Nico Schottelius
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
lf)
|
2022-08-02 04:42:30 +00:00
|
|
|
pass lionfish/nschottelius1 | sudo openconnect --protocol=gp portal.techcorpapps.com --user nschottelius1 --passwd-on-stdin --authgroup=Europe-1
|
2022-02-15 12:46:10 +00:00
|
|
|
;;
|
|
|
|
lx)
|
|
|
|
cd ~/Nextcloud/luxembourg/nico/
|
|
|
|
sudo openvpn --config nico.ovpn
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "$0 lf lx"
|
|
|
|
;;
|
|
|
|
esac
|