From 5d5c0b0582247986609cd3146da1fa6b61601972 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 14 Oct 2018 23:53:56 +0200 Subject: [PATCH] apm821xx: wndr4700: restore sd-card media detection 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 --- 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 c011c857539..5ecf346b532 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.30.2