From 311709719162d1db85190b3723e360e20d7964f4 Mon Sep 17 00:00:00 2001 From: floh1111 Date: Tue, 1 Nov 2011 20:27:50 +0000 Subject: [PATCH] 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 --- root_file_system/default/etc/configurator.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/root_file_system/default/etc/configurator.sh b/root_file_system/default/etc/configurator.sh index 65dd559..85400b4 100644 --- a/root_file_system/default/etc/configurator.sh +++ b/root_file_system/default/etc/configurator.sh @@ -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