From ee1de6a5e17c9ad25194aed8c6902350f04b8b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= Date: Tue, 30 Aug 2022 06:27:51 +0000 Subject: [PATCH] Update WARP-CR.sh --- WARP-CR.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/WARP-CR.sh b/WARP-CR.sh index c57da0e..79496c6 100644 --- a/WARP-CR.sh +++ b/WARP-CR.sh @@ -110,9 +110,8 @@ sed -i "s/162.159.193.8/162.159.193.9/g" /etc/wireguard/wgcf.conf elif [[ -n $(grep -w 162.159.193.9 /etc/wireguard/wgcf.conf) ]]; then sed -i "s/162.159.193.9/162.159.193.1/g" /etc/wireguard/wgcf.conf fi -wg-quick down wgcf >/dev/null 2>&1 -sleep 1 -wg-quick up wgcf >/dev/null 2>&1 +echo "重启" +systemctl restart wg-quick@wgcf } info1