aboutsummaryrefslogtreecommitdiffstats
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 12:05:47 +0100
commit5d5c0b0582247986609cd3146da1fa6b61601972 (patch)
tree0ee76bf397f250fa172fdf0eb67fefc50b67d1a7
parenta2266a6d422ec46188f77969ef49840175b4b63a (diff)
downloadupstream-5d5c0b0582247986609cd3146da1fa6b61601972.tar.gz
upstream-5d5c0b0582247986609cd3146da1fa6b61601972.tar.bz2
upstream-5d5c0b0582247986609cd3146da1fa6b61601972.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>
-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