diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-05-24 16:45:06 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-05-27 11:39:15 +0200 |
commit | 16ccf888ee70c65aa4943641e4b8e74e52dc1930 (patch) | |
tree | 9ff48617ab529432a9f9eee4869c9ca53c470f40 /target/linux/realtek | |
parent | 77d96e925fef1010f3d94a7cc722d23efd243b1e (diff) | |
download | upstream-16ccf888ee70c65aa4943641e4b8e74e52dc1930.tar.gz upstream-16ccf888ee70c65aa4943641e4b8e74e52dc1930.tar.bz2 upstream-16ccf888ee70c65aa4943641e4b8e74e52dc1930.zip |
base-files: generate network config with "device" options
Replace "ifname" with "device" as netifd has been recently patches to
used the later one. It's more clear and accurate.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 4b9a67362d70c544b85078b8d5c661f43f7472d9)
Diffstat (limited to 'target/linux/realtek')
-rwxr-xr-x | target/linux/realtek/base-files/etc/board.d/02_network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/base-files/etc/board.d/02_network b/target/linux/realtek/base-files/etc/board.d/02_network index 2568fd2e0e..45ab84ee9e 100755 --- a/target/linux/realtek/base-files/etc/board.d/02_network +++ b/target/linux/realtek/base-files/etc/board.d/02_network @@ -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="" |