diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-06-13 00:36:01 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-31 15:03:43 +0200 |
commit | 65305cb44869774a7db10c517b871dce5ab46ccb (patch) | |
tree | 32d6daf0310d38c7be9b97d5caf5370f35d228c6 /target/linux/kirkwood/base-files/etc/board.d/02_network | |
parent | 217877d046414878126e5c8013162e3b7edc774c (diff) | |
download | upstream-65305cb44869774a7db10c517b871dce5ab46ccb.tar.gz upstream-65305cb44869774a7db10c517b871dce5ab46ccb.tar.bz2 upstream-65305cb44869774a7db10c517b871dce5ab46ccb.zip |
kirkwood: use real model names for Linksys devices
This replaces the internal device names "Audi" and "Viper" with the
real model names, which a user would look for. This makes the
Linksys devices on this target consistent with the names recently
changed for mvebu based on the same idea.
As a consequence, the "viper" device definition is split into two
separate definitions with the correct names for both real models.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/kirkwood/base-files/etc/board.d/02_network | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network index 658ce13346..a60b87c912 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/02_network +++ b/target/linux/kirkwood/base-files/etc/board.d/02_network @@ -28,8 +28,9 @@ case "$board" in "zyxel,nsa310s") ucidef_set_interface_lan "eth0" "dhcp" ;; -"linksys,audi"|\ -"linksys,viper") +"linksys,e4200-v2"|\ +"linksys,ea3500"|\ +"linksys,ea4500") ucidef_set_interfaces_lan_wan "ethernet1 ethernet2 ethernet3 ethernet4" "internet" ucidef_set_interface_macaddr "wan" $( mtd_get_mac_ascii u_env eth1addr ) ;; |