diff --git a/scripts/ec2gaming-vpndown.sh b/scripts/ec2gaming-vpndown.sh index fcb79f3..5053aff 100755 --- a/scripts/ec2gaming-vpndown.sh +++ b/scripts/ec2gaming-vpndown.sh @@ -2,4 +2,4 @@ source "$(dirname "$0")/ec2gaming.header" echo -n "Disconnecting VPN... " -osascript ec2gaming-vpndown.scpt +osascript "ec2gaming-vpndown.$VPN_CLIENT.scpt" diff --git a/scripts/ec2gaming-vpnup.sh b/scripts/ec2gaming-vpnup.sh index 341722d..fa86998 100755 --- a/scripts/ec2gaming-vpnup.sh +++ b/scripts/ec2gaming-vpnup.sh @@ -15,4 +15,4 @@ else sed "s#IP#$IP#g;s#AUTH#$AUTH#g" ec2gaming.ovpn.template > "$BACKING_CONFIG" fi -osascript ec2gaming-vpnup.scpt +osascript "ec2gaming-vpnup.$VPN_CLIENT.scpt"