From b9b2c80012068780d766414d34715a844b49ccb7 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Wed, 20 Apr 2022 23:54:32 +0800 Subject: [PATCH] Update t.sh --- old/t.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/old/t.sh b/old/t.sh index 3d506c4..5a9d4c7 100644 --- a/old/t.sh +++ b/old/t.sh @@ -175,7 +175,7 @@ uninstall(){ # 卸载 WGCF wg-quick down wgcf >/dev/null 2>&1 brew uninstall wireguard-tools - rm -rf /usr/local/bin/wgcf /etc/wireguard /usr/local/bin/wireguard-go + sudo rm -rf /usr/local/bin/wgcf /etc/wireguard /usr/local/bin/wireguard-go # 显示卸载结果 ip4_info; [[ $L = C && -n "$COUNTRY4" ]] && COUNTRY4=$(translate "$COUNTRY4") ip6_info; [[ $L = C && -n "$COUNTRY6" ]] && COUNTRY6=$(translate "$COUNTRY6") @@ -274,7 +274,7 @@ e ) L=E; install;; c ) L=C; install;; u ) uninstall;; v ) ver;; -n ) net; +n ) net;; o ) onoff;; * ) help;; esac