From cad3d7d99006199e193be129a8fb2e21ee70e9ff Mon Sep 17 00:00:00 2001 From: MoeClub <32381827+MoeClub@users.noreply.github.com> Date: Mon, 16 May 2022 12:47:34 +0800 Subject: [PATCH] Update SoftEther.sh --- SoftEther/SoftEther.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoftEther/SoftEther.sh b/SoftEther/SoftEther.sh index 66c6ef8a..b9562693 100644 --- a/SoftEther/SoftEther.sh +++ b/SoftEther/SoftEther.sh @@ -61,11 +61,11 @@ case `uname -m` in aarch64|arm64) ARCH="arm64";; x86|i386|i686) ARCH="i386";; x8 [ ! -n "$SoftEtherURL" ] && [ "$ARCH" == "i386" ] && SoftEtherURL="http://www.softether-download.com/files/softether/${SoftEtherVersion}-tree/Linux/SoftEther_VPN_Server/32bit_-_Intel_x86/softether-vpnserver-${SoftEtherVersion}-linux-x86-32bit.tar.gz"; [ ! -n "$SoftEtherURL" ] && exit 1 +rm -rf /tmp/softether.tar.gz wget --no-check-certificate --no-cache -4 -qO "/tmp/softether.tar.gz" "${SoftEtherURL}" [ $? -eq 0 ] || exit 1 kill -9 `ps -C "vpnserver" -o pid=` >/dev/null 2>&1 -rm -rf /tmp/vpnserver rm -rf /etc/softether mkdir -p /etc/softether echo "${SoftEtherConfig}" |base64 -d >/etc/softether/vpn_server.config