mirror of
https://github.com/spiritLHLS/one-click-installation-script.git
synced 2024-11-16 11:52:19 +08:00
Update network.sh
This commit is contained in:
parent
1928949f36
commit
59282306e3
|
@ -44,6 +44,13 @@ else
|
||||||
else
|
else
|
||||||
echo "Network configuration is correct."
|
echo "Network configuration is correct."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Try to ping again after modifying network priority
|
||||||
|
if ping -c 1 google.com; then
|
||||||
|
echo "Ping successful after modifying network priority"
|
||||||
|
else
|
||||||
|
echo "Network problem is not related to nameserver or network priority."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user