forked from freifunk-franken/firmware
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:
parent
33e39eef31
commit
3117097191
|
@ -166,14 +166,13 @@ elif [ $CRAWL_METHOD == "hash" ]; then
|
||||||
fi
|
fi
|
||||||
assign_router
|
assign_router
|
||||||
sync_hostname
|
sync_hostname
|
||||||
if [[ $AUTOADD_IPV6_ADDRESS = "1" ]]; then
|
|
||||||
autoadd_ipv6_address
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
if [ $SCRIPT_ERROR_LEVEL -gt "1" ]; then
|
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
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user