der Update-Prozess laesst sich nun deutlich verkuerzen:
FILE="openwrt-ar71xx-generic-`uci get board.model.name`-squashfs-sysupgrade.bin"
echo "Loading $FILE"
cd /tmp/
wget http://$(uci get configurator.@api[0].ipv6_address)%$(uci get configurator.@api[0].ipv6_interface)/dev/firmware/current/${FILE}
wget http://$(uci get configurator.@api[0].ipv6_address)%$(uci get configurator.@api[0].ipv6_interface)/dev/firmware/current/${FILE}.md5
md5sum -c ${FILE}.md5 && sysupgrade ${FILE}
- remove obsolete crontabs
- move mac handling to network.sh
- update wr741xx, wr740 and wr1043 to new network config
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>