From ffdb18cbc7893e0008d92f701060381696a0c8f6 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Sun, 28 Aug 2022 15:13:51 +0800 Subject: [PATCH] Update menu.sh --- menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu.sh b/menu.sh index 96e54f2..dcfb4f6 100644 --- a/menu.sh +++ b/menu.sh @@ -723,7 +723,7 @@ uninstall(){ systemctl disable --now wg-quick@wgcf >/dev/null 2>&1 rpm -e wireguard-tools 2>/dev/null [[ $(systemctl is-active systemd-resolved) != active ]] && systemctl enable --now systemd-resolved >/dev/null 2>&1 - rm -rf /usr/bin/wgcf /etc/wireguard /usr/bin/wireguard-go wgcf-account.toml wgcf-profile.conf /usr/bin/warp /etc/dnsmasq.d/warp.conf /usr/bin/wireproxy + rm -rf /usr/bin/wgcf /etc/wireguard /usr/bin/wireguard-go wgcf-account.toml wgcf-profile.conf /usr/bin/warp /etc/dnsmasq.d/warp.conf /usr/bin/wireproxy /etc/local.d/warp-go.start [[ -e /etc/gai.conf ]] && sed -i '/^precedence \:\:ffff\:0\:0/d;/^label 2002\:\:\/16/d' /etc/gai.conf [[ -e /usr/bin/tun.sh ]] && rm -f /usr/bin/tun.sh && sed -i '/tun.sh/d' /etc/crontab sed -i "/250 warp/d" /etc/iproute2/rt_tables @@ -1448,7 +1448,7 @@ BindAddress = 127.0.0.1:$PORT EOF # 创建 WireProxy systemd 进程守护 - if + if [[ $SYSTEM != Alpine ]]; then cat > /lib/systemd/system/wireproxy.service << EOF [Unit] Description=WireProxy for WARP