- #!/usr/bin/env sh
-
- # TODO: --authgroup should probably be an option as well
-
- . ~/.secrets
-
- # Needs to be invoked with sudo -E or similar to access these environment vars:
- echo "$VPN_PASSWD\npush" | sudo -E openconnect --no-cert-check --juniper "$VPN_PATH" -u "$VPN_USER" --passwd-on-stdin --authgroup general
|