mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-24 08:52:18 +02:00
Update install.func
The script now checks IPv6 internet connectivity by attempting to ping "google.com" instead of Cloudflare's DNS IPv6 server address.
This commit is contained in:
parent
47b581ee38
commit
c0e3edc0c9
@ -130,7 +130,7 @@ network_check() {
|
|||||||
|
|
||||||
# Check if IPv6 is being used
|
# Check if IPv6 is being used
|
||||||
if ip -o -6 addr show | grep -q "scope global"; then
|
if ip -o -6 addr show | grep -q "scope global"; then
|
||||||
if ping6 -c 1 -W 1 2606:4700:4700::1111 &>/dev/null; then
|
if ping -6 google.com &>/dev/null; then
|
||||||
msg_ok "IPv6 Internet Connected";
|
msg_ok "IPv6 Internet Connected";
|
||||||
else
|
else
|
||||||
msg_error "IPv6 Internet Not Connected";
|
msg_error "IPv6 Internet Not Connected";
|
||||||
|
Loading…
Reference in New Issue
Block a user