Move the add autoadd_ipv6_adress section to the right place. It is important, that every new router use this new configurator otherwise the IP adress will be assigned to the router id 1 or another wrong id

This commit is contained in:
floh1111 2011-11-01 20:27:50 +00:00
parent 33e39eef31
commit 3117097191
1 changed files with 5 additions and 6 deletions

View File

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