From 7f2f1fa6e0e4cee700939cc103429b8eee95fe4b 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: Fri, 24 Mar 2023 01:40:07 +0000 Subject: [PATCH] Update 661.sh --- 661.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/661.sh b/661.sh index ff23774..a324f64 100644 --- a/661.sh +++ b/661.sh @@ -1248,7 +1248,7 @@ ShowWGCF && WGCFmenu WGproxy(){ [[ ! $(type -P wg-quick) ]] && red "未安装Wgcf-WARP,安装好wgcf-warp才能执行" && sleep 3 && bash CFwarp.sh cp -f /etc/wireguard/wgcf.conf /etc/wireguard/wgproxy.conf >/dev/null 2>&1 -sed -i '/PostUp/d;/PostDown/d' /etc/wireguard/wgproxy.conf +sed -i '/PostUp/d;/PostDown/d;/Endpoint/d' /etc/wireguard/wgproxy.conf sed -i "10a Endpoint = $endpoint" /etc/wireguard/wgproxy.conf green "当前wireguard客户端配置文件wgproxy.conf内容如下,保存到 /etc/wireguard/wgproxy.conf\n" && sleep 2 white "$(cat /etc/wireguard/wgproxy.conf)\n"