Make IPv6 check compatible for all systems

This commit is contained in:
mboelen 2016-02-25 14:24:50 +01:00
parent f6c84785e7
commit 13cfbd3019
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
IPV6_ONLY=255
IPV6_MISCONFIGURED=0
IPV6_MISCONFIGURED_MTU=0
FIND=`sysctl -a --pattern "^net.ipv6" 2> /dev/null | sed "s/ = /=/"`
FIND=`sysctl -a | grep "^net.ipv6" 2> /dev/null | sed "s/ = /=/"`
if [ ! "${FIND}" = "" ]; then
IPV6_CONFIGURED=1
for I in ${FIND}; do