testminiwget.sh: test IPV6 availability
This commit is contained in:
parent
6600c52b67
commit
b4bbee1df9
|
@ -26,6 +26,10 @@ if [ -z "$IPCONFIG" ] ; then
|
|||
IPCONFIG="/sbin/ifconfig"
|
||||
fi
|
||||
|
||||
if ! $IPCONFIG -a | grep inet6 ; then
|
||||
HAVE_IPV6=no
|
||||
fi
|
||||
|
||||
case "$HAVE_IPV6" in
|
||||
n|no|0)
|
||||
ADDR=localhost
|
||||
|
|
Loading…
Reference in New Issue