diff options
author | Mathias Kresin <dev@kresin.me> | 2018-01-08 23:49:22 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-01-09 22:06:55 +0100 |
commit | 0674a99f7eb0c630b25eca774e3fe341d6c0efc8 (patch) | |
tree | e4531d269100322f0133d8119861bfc47e60efce /target/linux/kirkwood/base-files/etc/board.d/02_network | |
parent | 0e94df65ca7f6a5c39421100c223c92889205b6f (diff) | |
download | mtk-20170518-0674a99f7eb0c630b25eca774e3fe341d6c0efc8.zip mtk-20170518-0674a99f7eb0c630b25eca774e3fe341d6c0efc8.tar.gz mtk-20170518-0674a99f7eb0c630b25eca774e3fe341d6c0efc8.tar.bz2 |
kirkwood: sort occurrences of boardame alphabetically
This restores the alphabetical sort that was present
before the renaming of boardname.
Signed-off-by: Mathias Kresin <dev@kresin.me>
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 | 19 |
1 files changed, 10 insertions, 9 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 0b760fc..5d66e0f 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/02_network +++ b/target/linux/kirkwood/base-files/etc/board.d/02_network @@ -11,13 +11,16 @@ board_config_update board=$(board_name) case "$board" in +"cisco,on100") + ucidef_set_interface_lan "eth0 eth1" + ;; +"cloudengines,pogoe02"|\ +"cloudengines,pogoplugv4"|\ +"iom,iconnect-1.1"|\ +"raidsonic,ib-nas62x0"|\ "seagate,dockstar"|\ "seagate,goflexhome"|\ -"seagate,goflexnet"|\ -"raidsonic,ib-nas62x0"|\ -"iom,iconnect-1.1"|\ -"cloudengines,pogoe02"|\ -"cloudengines,pogoplugv4") +"seagate,goflexnet") ucidef_set_interface_lan "eth0" "dhcp" ;; "linksys,audi"|\ @@ -25,13 +28,11 @@ case "$board" in ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1" ;; -"zyxel,nsa310b"|"zyxel,nsa325") +"zyxel,nsa310b"|\ +"zyxel,nsa325") ucidef_set_interface_lan "eth0" "dhcp" ucidef_set_interface_macaddr "lan" $( mtd_get_mac_ascii uboot_env ethaddr ) ;; -"cisco,on100") - ucidef_set_interface_lan "eth0 eth1" - ;; *) ucidef_set_interface_lan "eth0" ;; |