From: Christian Lamparter Date: Sun, 14 Oct 2018 21:53:56 +0000 (+0200) Subject: apm821xx: wndr4700: restore sd-card media detection X-Git-Tag: v18.06.2~280 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=26ebcc88e3de61cbfb7fc2845b617c5b3a73cac8;p=openwrt%2Fstaging%2Fchunkeey.git 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 --- 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