mirror of https://github.com/tteck/Proxmox.git
Update install.func
add a one second delay before checking internet connectivitypull/3484/head
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