summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-09-10 09:46:14 +0200
committerMathias Kresin <dev@kresin.me>2016-09-10 15:32:25 +0200
commitc1578d4fc9e53c9b80d858fc924adc8a66f5fce3 (patch)
treebe33d8ddcc902c49c26e96e39a7f4fccbab796ed /target/linux/ramips/base-files
parent92eaf27c62cad5f9832dc7084e1ae14d5e7b47e6 (diff)
downloadmtk-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/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 772f5e1..675dcc9 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -371,8 +371,8 @@ ramips_setup_macs()
;;
esac
- [ -n "$lan_mac" ] && ucidef_set_interface_macaddr lan $lan_mac
- [ -n "$wan_mac" ] && ucidef_set_interface_macaddr wan $wan_mac
+ [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac
+ [ -n "$wan_mac" ] && ucidef_set_interface_macaddr "wan" $wan_mac
}
board_config_update