[OpenWrt-Devel] [PATCH] ramips: sort boards in upgrade/platform.sh alphabetically

openwrt at rogerpueyo.com openwrt at rogerpueyo.com
Sun Oct 19 11:48:13 EDT 2014


From: Roger Pueyo Centelles <roger.pueyo at guifi.net>

---
 .../ramips/base-files/lib/upgrade/platform.sh      | 36 +++++++++++-----------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 52f3f0a..61a0935 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -17,7 +17,6 @@ platform_check_image() {
 	3g-6200n | \
 	3g-6200nl | \
 	3g300m | \
-	w150m | \
 	air3gii | \
 	all0239-3g | \
 	all0256n | \
@@ -25,34 +24,33 @@ platform_check_image() {
 	all5003 | \
 	ar725w | \
 	asl26555 | \
+	awapn2403 | \
 	awm002-evb | \
 	awm003-evb | \
-	awapn2403 | \
 	bc2 | \
 	broadway | \
 	carambola | \
 	d105 | \
+	dap-1350 | \
 	dcs-930 | \
 	dir-300-b1 | \
 	dir-300-b7 | \
 	dir-320-b1 | \
 	dir-600-b1 | \
 	dir-600-b2 | \
-	dir-615-h1 | \
 	dir-615-d | \
+	dir-615-h1 | \
 	dir-620-a1 | \
 	dir-620-d1 | \
 	dir-810l | \
-	dap-1350 | \
 	esr-9753 | \
 	f7c027 | \
 	fonera20n | \
-	rt-n13u | \
 	freestation5 | \
-	hw550-3g | \
 	hg255d | \
 	hlk-rm04 | \
 	ht-tm02 | \
+	hw550-3g | \
 	ip2202 | \
 	m3 | \
 	m4 | \
@@ -71,6 +69,7 @@ platform_check_image() {
 	rp-n53 | \
 	rt-g32-b1 | \
 	rt-n10-plus | \
+	rt-n13u | \
 	rt-n14u | \
 	rt-n15 | \
 	rt-n56u | \
@@ -78,30 +77,31 @@ platform_check_image() {
 	sl-r7205 | \
 	tew-691gr | \
 	tew-692gr | \
-	w306r-v20 |\
-	w502u |\
-	wr6202 |\
+	ur-326n4g |\
+	ur-336un |\
 	v22rw-2x2 | \
 	vocore | \
-	wl341v3 | \
+	w150m | \
+	w306r-v20 |\
+	w502u |\
+	whr-g300n |\
 	wl-330n | \
 	wl-330n3g | \
 	wl-351 | \
-	wnce2001 | \
+	wl341v3 | \
 	wli-tx4-ag300n | \
-	whr-g300n |\
-	wt1520 |\
-	ur-326n4g |\
-	ur-336un |\
-	wr512-3gn |\
 	wmr300 |\
+	wnce2001 | \
+	wr512-3gn |\
+	wr6202 |\
 	wr8305rt |\
 	wrtnode |\
+	wt1520 |\
 	x5 |\
 	x8 |\
-	zbt-wa05 |\
 	y1 |\
-	y1s)
+	y1s |\
+	zbt-wa05)
 		[ "$magic" != "27051956" ] && {
 			echo "Invalid image type."
 			return 1
-- 
2.1.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list