base-files: generate network config with "device" options
[openwrt/staging/ynezz.git] / target / linux / realtek / base-files / etc / board.d / 02_network
index 2568fd2e0e0620d0281e826628d4d1840d8c2398..45ab84ee9ed46204f7f33928fcffc045e66bd774 100755 (executable)
@@ -24,7 +24,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=""