base-files: generate network config with "device" options
[openwrt/staging/ynezz.git] / target / linux / realtek / base-files / etc / board.d / 02_network
index c1dd230bb89f50621db10d5c60f9fb76de912972..6568017b52526ed1a0afbbf1fd6ce8059949449d 100644 (file)
@@ -23,7 +23,7 @@ for lan in /sys/class/net/lan*; do
 done
 ucidef_set_bridge_device switch
 ucidef_set_interface_wan "$lan_list"
-ucidef_set_interface "lan" ifname "lan1:t" protocol "static" vlan 100
+ucidef_set_interface "lan" device "lan1:t" protocol "static" vlan 100
 
 lan_mac=""
 wan_mac=""