Update network.sh

This commit is contained in:
spiritLHLS 2022-12-18 19:28:20 +08:00 committed by GitHub
parent d9b996ef99
commit c2e39c5f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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