From c55bdd7d13e18fde7059aab61edaeb0358194f7d Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Mon, 26 Apr 2021 22:55:32 -0500 Subject: [PATCH] Update permissions - Set executable bit for ikev2.sh --- vpnsetup.sh | 2 +- vpnsetup_amzn.sh | 2 +- vpnsetup_centos.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vpnsetup.sh b/vpnsetup.sh index 272addb..82ab096 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -199,7 +199,7 @@ bigecho "Downloading IKEv2 script..." ikev2_url="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/ikev2setup.sh" ( set -x - wget -t 3 -T 30 -q -O ikev2.sh "$ikev2_url" + wget -t 3 -T 30 -q -O ikev2.sh "$ikev2_url" && chmod +x ikev2.sh ) || /bin/rm -f ikev2.sh bigecho "Downloading Libreswan..." diff --git a/vpnsetup_amzn.sh b/vpnsetup_amzn.sh index d1b95a6..2332bc5 100755 --- a/vpnsetup_amzn.sh +++ b/vpnsetup_amzn.sh @@ -163,7 +163,7 @@ bigecho "Downloading IKEv2 script..." ikev2_url="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/ikev2setup.sh" ( set -x - wget -t 3 -T 30 -q -O ikev2.sh "$ikev2_url" + wget -t 3 -T 30 -q -O ikev2.sh "$ikev2_url" && chmod +x ikev2.sh ) || /bin/rm -f ikev2.sh bigecho "Downloading Libreswan..." diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index fee8dc6..e933e6f 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -212,7 +212,7 @@ bigecho "Downloading IKEv2 script..." ikev2_url="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/ikev2setup.sh" ( set -x - wget -t 3 -T 30 -q -O ikev2.sh "$ikev2_url" + wget -t 3 -T 30 -q -O ikev2.sh "$ikev2_url" && chmod +x ikev2.sh ) || /bin/rm -f ikev2.sh bigecho "Downloading Libreswan..."