mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update WARP-CR.sh
This commit is contained in:
parent
fea2384b18
commit
ee1de6a5e1
|
@ -110,9 +110,8 @@ sed -i "s/162.159.193.8/162.159.193.9/g" /etc/wireguard/wgcf.conf
|
||||||
elif [[ -n $(grep -w 162.159.193.9 /etc/wireguard/wgcf.conf) ]]; then
|
elif [[ -n $(grep -w 162.159.193.9 /etc/wireguard/wgcf.conf) ]]; then
|
||||||
sed -i "s/162.159.193.9/162.159.193.1/g" /etc/wireguard/wgcf.conf
|
sed -i "s/162.159.193.9/162.159.193.1/g" /etc/wireguard/wgcf.conf
|
||||||
fi
|
fi
|
||||||
wg-quick down wgcf >/dev/null 2>&1
|
echo "重启"
|
||||||
sleep 1
|
systemctl restart wg-quick@wgcf
|
||||||
wg-quick up wgcf >/dev/null 2>&1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
info1
|
info1
|
||||||
|
|
Loading…
Reference in New Issue