diff mbox series

[OpenWrt-Devel,master,and,18.06] apm821xx: wndr4700: restore sd-card media detection

Message ID 20181014215356.17662-1-chunkeey@gmail.com
State Accepted
Delegated to: John Crispin
Headers show
Series [OpenWrt-Devel,master,and,18.06] apm821xx: wndr4700: restore sd-card media detection | expand

Commit Message

Christian Lamparter Oct. 14, 2018, 9:53 p.m. UTC
This was not converted to the new, dt-based board name.

Fixes: e90dc8d2722 ("apm821xx: convert to device-tree board detection")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
---
 target/linux/apm821xx/base-files/etc/rc.button/BTN_1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/target/linux/apm821xx/base-files/etc/rc.button/BTN_1 b/target/linux/apm821xx/base-files/etc/rc.button/BTN_1
index c011c85753..5ecf346b53 100755
--- a/target/linux/apm821xx/base-files/etc/rc.button/BTN_1
+++ b/target/linux/apm821xx/base-files/etc/rc.button/BTN_1
@@ -4,7 +4,7 @@ 
 
 BOARD=$(board_name)
 
-if [ $BOARD == "wndr4700" ]; then
+if [ $BOARD == "netgear,wndr4700" ]; then
 	case "$ACTION" in
 	released)
 		rmmod dwc2