Skip to content

Commit

Permalink
Update and rename bt7.sh to bt8.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkyg authored Oct 20, 2021
1 parent 3283f74 commit 919c48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bt7.sh → bt8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ echo $ABC4 | sh
mv -f wgcf-profile.conf /etc/wireguard/wgcf.conf >/dev/null 2>&1
mv -f wgcf-account.toml /etc/wireguard/wgcf-account.toml >/dev/null 2>&1

source ~/.bashrc
wg-quick up wgcf >/dev/null 2>&1
v4=$(wget -T1 -t1 -qO- -4 ip.gs)
v6=$(wget -T1 -t1 -qO- -6 ip.gs)
Expand Down Expand Up @@ -270,6 +269,7 @@ fi
green "设置完成"

[[ -e /etc/gai.conf ]] && [[ $(grep '^[ ]*precedence[ ]*::ffff:0:0/96[ ]*100' /etc/gai.conf) ]] || echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf
source .bash_profile
green "安装结束,当前WARP及IP状态如下 "
blue "WARP状态+IPv4地址+IP所在区域: ${WARPIPv4Status}"
blue "WARP状态+IPv6地址+IP所在区域: ${WARPIPv6Status}"
Expand Down

0 comments on commit 919c48b

Please sign in to comment.