From: Adrian Schmutzler Date: Thu, 17 Sep 2020 10:33:45 +0000 (+0200) Subject: ipq806x: sort entries in 02_network X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a744c14dfa087bb00a5871a59b00028c94c4e00b;p=openwrt%2Fstaging%2Fyousong.git ipq806x: sort entries in 02_network Apply alphabetic sorting like in the other files. Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network index 0dbc49840a..3f9d96881d 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/02_network +++ b/target/linux/ipq806x/base-files/etc/board.d/02_network @@ -27,11 +27,6 @@ edgecore,ecw5410) ucidef_set_interface_macaddr "lan" "$(mtd_get_mac_binary "0:ART" 0x6)" ucidef_set_interface_macaddr "wan" "$(mtd_get_mac_binary "0:ART" 0x0)" ;; -qcom,ipq8064-ap161) - ucidef_set_interface_lan "eth1 eth2" - ucidef_add_switch "switch0" \ - "0:lan" "1:lan" "2:lan" "3u@eth1" "6:wan" "4u@eth0" - ;; linksys,ea7500-v1) hw_mac_addr=$(mtd_get_mac_ascii devinfo hw_mac_addr) ucidef_add_switch "switch0" \ @@ -55,6 +50,11 @@ tplink,c2600) ucidef_add_switch "switch0" \ "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "6@eth1" "5:wan" "0@eth0" ;; +qcom,ipq8064-ap161) + ucidef_set_interface_lan "eth1 eth2" + ucidef_add_switch "switch0" \ + "0:lan" "1:lan" "2:lan" "3u@eth1" "6:wan" "4u@eth0" + ;; qcom,ipq8064-db149) ucidef_set_interface_lan "eth1 eth2 eth3" ucidef_add_switch "switch0" \