mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update 661.sh
This commit is contained in:
parent
c8c262f7fb
commit
b06b1f9119
4
661.sh
4
661.sh
|
@ -1112,7 +1112,7 @@ fi
|
||||||
}
|
}
|
||||||
|
|
||||||
cwg(){
|
cwg(){
|
||||||
screen -S up -X quit
|
screen -ls | awk '/\.up/ {print $1}' | cut -d "." -f 1 | xargs kill
|
||||||
systemctl disable warp-go >/dev/null 2>&1
|
systemctl disable warp-go >/dev/null 2>&1
|
||||||
kill -15 $(pgrep warp-go) >/dev/null 2>&1
|
kill -15 $(pgrep warp-go) >/dev/null 2>&1
|
||||||
chattr -i /etc/resolv.conf >/dev/null 2>&1
|
chattr -i /etc/resolv.conf >/dev/null 2>&1
|
||||||
|
@ -1641,7 +1641,7 @@ fi
|
||||||
}
|
}
|
||||||
|
|
||||||
cwg(){
|
cwg(){
|
||||||
screen -S up -X quit
|
screen -ls | awk '/\.up/ {print $1}' | cut -d "." -f 1 | xargs kill
|
||||||
wg-quick down wgcf >/dev/null 2>&1
|
wg-quick down wgcf >/dev/null 2>&1
|
||||||
systemctl disable wg-quick@wgcf >/dev/null 2>&1
|
systemctl disable wg-quick@wgcf >/dev/null 2>&1
|
||||||
$yumapt remove wireguard-tools
|
$yumapt remove wireguard-tools
|
||||||
|
|
Loading…
Reference in New Issue