From 650a41dff73e5c13db47a60d158a8dc0a003fa2c Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Mon, 28 Mar 2022 01:11:30 +0800 Subject: [PATCH] Update menu.sh --- menu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu.sh b/menu.sh index 9f0e352..84fccab 100644 --- a/menu.sh +++ b/menu.sh @@ -611,10 +611,11 @@ uninstall(){ ${PACKAGE_UNINSTALL[int]} wireguard-tools openresolv 2>/dev/null 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/local/bin/wgcf /etc/wireguard /usr/bin/wireguard-go wgcf-account.toml wgcf-profile.conf /usr/bin/warp /etc/dnsmasq.d/warp.conf + rm -rf /usr/local/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 [[ -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 + kill -9 $(pgrep -f wireproxy) >/dev/null 2>&1 } # 卸载 Linux Client