From eb20b64c3545cc0663b5f345ea2e89f54c3d4006 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 29 Jan 2022 01:24:22 -0600 Subject: [PATCH] Update tests --- .github/workflows/cron.yml | 36 +++++++++++++++++++++++++++++++++--- .github/workflows/main.yml | 36 +++++++++++++++++++++++++++++++++--- 2 files changed, 66 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 76b0f5d..d964320 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -173,6 +173,8 @@ jobs: systemctl start rsyslog wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup + sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' vpnsetup.sh + sh vpnsetup.sh systemctl start xl2tpd @@ -207,6 +209,9 @@ jobs: fi wget -t 3 -T 30 -nv -O quickstart.sh https://git.io/vpnquickstart + sed -i -e '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' \ + -e '/sleep 1/a sed -i "/swan_ver_latest=/s/^/#/" /opt/src/ikev2.sh' quickstart.sh + sh quickstart.sh systemctl restart xl2tpd @@ -247,6 +252,7 @@ jobs: else wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-amzn fi + sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh VPN_IPSEC_PSK='your_ipsec_pre_shared_key' \ VPN_USER='your_vpn_username' \ @@ -282,6 +288,8 @@ jobs: ls -l /opt/src/ikev2.sh wget -t 3 -T 30 -nv -O ikev2.sh https://git.io/ikev2setup # hwdsl2 + sed -i '/swan_ver_latest=/s/^/#/' ikev2.sh + bash ikev2.sh <