diff options
author | Mathias Kresin <dev@kresin.me> | 2016-09-10 09:46:14 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-09-10 15:32:25 +0200 |
commit | c1578d4fc9e53c9b80d858fc924adc8a66f5fce3 (patch) | |
tree | be33d8ddcc902c49c26e96e39a7f4fccbab796ed /target/linux/mpc85xx/base-files/etc/board.d | |
parent | 92eaf27c62cad5f9832dc7084e1ae14d5e7b47e6 (diff) | |
download | mtk-20170518-c1578d4fc9e53c9b80d858fc924adc8a66f5fce3.zip mtk-20170518-c1578d4fc9e53c9b80d858fc924adc8a66f5fce3.tar.gz mtk-20170518-c1578d4fc9e53c9b80d858fc924adc8a66f5fce3.tar.bz2 |
cleanup ucidef_set_interface* usage
- quote the interface name
- remove call of not existing function
- remove the proto if it's the default proto
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/mpc85xx/base-files/etc/board.d')
-rwxr-xr-x | target/linux/mpc85xx/base-files/etc/board.d/02_network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mpc85xx/base-files/etc/board.d/02_network b/target/linux/mpc85xx/base-files/etc/board.d/02_network index c9645ab..e0a0861 100755 --- a/target/linux/mpc85xx/base-files/etc/board.d/02_network +++ b/target/linux/mpc85xx/base-files/etc/board.d/02_network @@ -14,7 +14,7 @@ case "$board" in tl-wdr4900-v1) ucidef_add_switch "switch0" \ "0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan" - ucidef_set_interface_macaddr wan "$(mtd_get_mac_binary config 332)" + ucidef_set_interface_macaddr "wan" "$(mtd_get_mac_binary config 332)" ;; *) ucidef_set_interfaces_lan_wan "eth0" "eth1" |