Do not only add ipv6 address if loglevel ist set. Thanks to Bjo!

This commit is contained in:
floh1111 2011-11-01 21:08:17 +00:00
parent 669d088685
commit e4f1405313
1 changed files with 3 additions and 4 deletions

View File

@ -169,11 +169,10 @@ elif [ $CRAWL_METHOD == "hash" ]; then
else
if [ $SCRIPT_ERROR_LEVEL -gt "1" ]; then
echo "`date`: Der Router ist bereits mit Netmon verknüpt" >> $SCRIPT_LOGFILE
if [[ $AUTOADD_IPV6_ADDRESS = "1" ]]; then
autoadd_ipv6_address
fi
fi
if [[ $AUTOADD_IPV6_ADDRESS = "1" ]]; then
autoadd_ipv6_address
fi
fi
fi