4 . /lib/functions/system.sh
5 . /lib/functions/uci-defaults.sh
8 case "$(au1000_board_name)" in
10 MAC="$( au1000_yamonenv_getvar 'ethaddr' )"
11 MAC="$( macaddr_canonicalize "$MAC" )"
13 [ -n "$MAC ] && ucidef_set_interface_macaddr lan "$MAC"
17 [ -z "$MAC" ] || uci commit network