[OpenWrt-Devel] [PATCH v2 14/25] ramips: fix Edimax BR-6425 board name

Piotr Dymacz pepe2k at gmail.com
Wed Aug 5 14:30:15 EDT 2015


Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 target/linux/ramips/base-files/etc/board.d/01_leds | 2 +-
 target/linux/ramips/base-files/etc/diag.sh         | 2 +-
 target/linux/ramips/base-files/lib/ramips.sh       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 7bd52e1..1ae4510 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -60,7 +60,7 @@ case $board in
 	bc2)
 		set_usb_led "bc2:blue:usb"
 		;;
-	br6425)
+	br-6425)
 		set_wifi_led "edimax:orange:wlan"
 		;;
 	br-6475nd)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index f8b7e89..712e93c 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -36,7 +36,7 @@ get_status_led() {
 	br6524n)
 		status_led="edimax:blue:power"
 		;;
-	br6425 | br-6475nd)
+	br-6425 | br-6475nd)
 		status_led="edimax:green:power"
 		;;
 	cf-wr800n)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 58d7fc9..36ba3f2 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -41,7 +41,7 @@ ramips_board_detect() {
 		name="air3gii"
 		;;
 	*"Edimax BR-6425")
-		name="br6425"
+		name="br-6425"
 		;;
 	*"Allnet ALL0239-3G")
 		name="all0239-3g"
-- 
2.4.6
_______________________________________________
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