mirror of
https://github.com/spiritLHLS/one-click-installation-script.git
synced 2024-11-16 20:25:25 +08:00
Update network.sh
This commit is contained in:
parent
d9b996ef99
commit
c2e39c5f41
|
@ -163,3 +163,8 @@ main_v6() {
|
|||
|
||||
head
|
||||
main
|
||||
# ping 测试
|
||||
if ping -c 3 google.com &> /dev/null || ping -c 3 github.com &> /dev/null; then
|
||||
echo "V4网络恢复成功"
|
||||
return
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user