From 4c0c13410226565f4dfe703b22006f29b4f20d44 Mon Sep 17 00:00:00 2001 From: Dustin Oprea Date: Tue, 17 May 2016 23:37:56 -0400 Subject: [PATCH] Default the PSK, username, and password from the environment. --- vpnsetup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vpnsetup.sh b/vpnsetup.sh index 1597e62..3baaa64 100644 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -22,9 +22,9 @@ # - All values MUST be quoted using 'single quotes' # - DO NOT use these characters inside values: \ " ' -IPSEC_PSK='' -VPN_USER='' -VPN_PASSWORD='' +IPSEC_PSK="$VPNSETUP_IPSEC_PSK" +VPN_USER="$VPNSETUP_USERNAME" +VPN_PASSWORD="$VPNSETUP_PASSWORD" # Important Notes: https://git.io/vpnnotes # Setup VPN Clients: https://git.io/vpnclients