forked from Ivasoft/openwrt
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>
This commit is contained in:
@@ -170,8 +170,8 @@ fi
|
||||
|
||||
ucidef_set_interface_wan "$interface_wan" "pppoe"
|
||||
|
||||
[ -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_flush
|
||||
|
||||
|
||||
Reference in New Issue
Block a user