From: Christian Lamparter Date: Sun, 14 Oct 2018 21:53:56 +0000 (+0200) Subject: apm821xx: wndr4700: restore sd-card media detection X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5d5c0b0582247986609cd3146da1fa6b61601972;p=openwrt%2Fstaging%2Fblocktrron.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