[OpenWrt-Devel] [PATCH][master and 18.06] apm821xx: wndr4700: restore sd-card media detection
Christian Lamparter
chunkeey at gmail.com
Sun Oct 14 17:53:56 EDT 2018
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 at gmail.com>
---
target/linux/apm821xx/base-files/etc/rc.button/BTN_1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.19.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list