mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-25 15:42:40 +08:00
Update t.sh
Former-commit-id: 265ef75b7591d562a811eaf05a1e5aa4e065cdf6
This commit is contained in:
@@ -438,7 +438,7 @@ install(){
|
||||
[[ $BORINGTUN != 2 ]] && echo '@reboot sleep 10 && root bash warp n' >> /etc/crontab
|
||||
|
||||
# 优先使用 IPv4 网络
|
||||
[[ -e /etc/gai.conf]] && [[ ! grep '^[ ]*precedence[ ]*::ffff:0:0/96[ ]*100' /etc/gai.conf ]] && echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf
|
||||
[[ -e /etc/gai.conf ]] && [[ ! grep '^[ ]*precedence[ ]*::ffff:0:0/96[ ]*100' /etc/gai.conf ]] && echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf
|
||||
|
||||
# 保存好配置文件
|
||||
mv -f wgcf-account.toml wgcf-profile.conf menu.sh /etc/wireguard >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user