diff --git a/system/arm/bin/update-static-dns b/system/arm/bin/update-static-dns index 0e0df17..aeb5d45 100755 --- a/system/arm/bin/update-static-dns +++ b/system/arm/bin/update-static-dns @@ -18,7 +18,7 @@ for host in $(busybox cat /system/etc/static-dns-hosts.txt | busybox grep -vE '^ done # Check whether IPv6 is available. -busybox wget http://[2606:4700:4700::1111] >/dev/null 2>&1 +busybox wget http://[2606:4700:4700::1111] -O /dev/null -o /dev/null if [[ $? != 0 ]]; then exit fi diff --git a/system/x86/bin/update-static-dns b/system/x86/bin/update-static-dns index 0e0df17..aeb5d45 100755 --- a/system/x86/bin/update-static-dns +++ b/system/x86/bin/update-static-dns @@ -18,7 +18,7 @@ for host in $(busybox cat /system/etc/static-dns-hosts.txt | busybox grep -vE '^ done # Check whether IPv6 is available. -busybox wget http://[2606:4700:4700::1111] >/dev/null 2>&1 +busybox wget http://[2606:4700:4700::1111] -O /dev/null -o /dev/null if [[ $? != 0 ]]; then exit fi