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