aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/base-files
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-10-14 23:53:56 +0200
committerJohn Crispin <john@phrozen.org>2018-11-26 10:56:42 +0100
commit26ebcc88e3de61cbfb7fc2845b617c5b3a73cac8 (patch)
tree232fb66e8c2cd37f380ddeca49ade830c43948dc /target/linux/apm821xx/base-files
parent5337319bdfdecf46aa3e56e26fb750fd18d19c5c (diff)
downloadupstream-26ebcc88e3de61cbfb7fc2845b617c5b3a73cac8.tar.gz
upstream-26ebcc88e3de61cbfb7fc2845b617c5b3a73cac8.tar.bz2
upstream-26ebcc88e3de61cbfb7fc2845b617c5b3a73cac8.zip
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 <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/base-files')
-rwxr-xr-xtarget/linux/apm821xx/base-files/etc/rc.button/BTN_12
1 files changed, 1 insertions, 1 deletions
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