OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | #!/bin/sh |
2 | |||
3 | . /lib/functions/uci-defaults.sh |
||
4 | . /lib/functions/system.sh |
||
5 | . /lib/oxnas.sh |
||
6 | |||
7 | board_config_update |
||
8 | |||
9 | lan_mac="" |
||
10 | |||
11 | case "$(board_name)" in |
||
12 | kd20) |
||
13 | lan_mac="$(legacy_boot_mac_adr)" |
||
14 | ;; |
||
15 | esac |
||
16 | |||
17 | ucidef_set_interface_lan "eth0" "dhcp" |
||
18 | [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" "$lan_mac" |
||
19 | |||
20 | board_config_flush |
||
21 | |||
22 | exit 0 |