Skip to content

Commit

Permalink
Add ucsf-vpn-flavors.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed May 17, 2024
1 parent 6f7cd61 commit c4980cd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions vpnc/connect.d/ucsf-vpn-flavors.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh
####################################################################
# Use user-specific UCSF VPN configurations
#
# Install:
# mkdir -p /etc/vpnc/connect.d/
# cp ucsf-vpn-flavors.sh /etc/vpnc/connect.d/
#
# Requires:
# https://github.com/HenrikBengtsson/ucsf-vpn
####################################################################

## Called via 'ucsf-vpn'?
if [ -n "${UCSF_VPN_VERSION}" ]; then
file="${UCSF_VPN_FLAVOR}"/connect.sh
if [ -f "${file}" ]; then
. "${file}"
fi
fi

0 comments on commit c4980cd

Please sign in to comment.