mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 18:13:10 +01:00
Update install.func
add a one second delay before checking internet connectivity
This commit is contained in:
parent
b66590f976
commit
d26e474ccb
@ -117,7 +117,7 @@ network_check() {
|
|||||||
trap - ERR
|
trap - ERR
|
||||||
ipv4_connected=false
|
ipv4_connected=false
|
||||||
ipv6_connected=false
|
ipv6_connected=false
|
||||||
|
sleep 1
|
||||||
# Check IPv4 connectivity
|
# Check IPv4 connectivity
|
||||||
if ping -c 1 -W 1 1.1.1.1 &>/dev/null; then
|
if ping -c 1 -W 1 1.1.1.1 &>/dev/null; then
|
||||||
msg_ok "IPv4 Internet Connected";
|
msg_ok "IPv4 Internet Connected";
|
||||||
|
Loading…
Reference in New Issue
Block a user