apm821xx: wndr4700: restore sd-card media detection
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 14 Oct 2018 21:53:56 +0000 (23:53 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 26 Nov 2018 11:05:47 +0000 (12:05 +0100)
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>
target/linux/apm821xx/base-files/etc/rc.button/BTN_1

index c011c857539360cfa7b1f97cce84c4f32133c052..5ecf346b5322c699f0b72003f94e21fc23312132 100755 (executable)
@@ -4,7 +4,7 @@
 
 BOARD=$(board_name)
 
-if [ $BOARD == "wndr4700" ]; then
+if [ $BOARD == "netgear,wndr4700" ]; then
        case "$ACTION" in
        released)
                rmmod dwc2