apm821xx: WNDR4700: remove obsolete sd-card change detection
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 19 May 2019 10:11:13 +0000 (12:11 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 19 May 2019 10:29:24 +0000 (12:29 +0200)
The SD-Card polling is now implemented by default in the
fs-tools block-mount utility package. It might not be as
fast as the current detection method since the polling
time is 2 Seconds, but it's much less of an hack.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/base-files/etc/rc.button/BTN_1 [deleted file]

diff --git a/target/linux/apm821xx/base-files/etc/rc.button/BTN_1 b/target/linux/apm821xx/base-files/etc/rc.button/BTN_1
deleted file mode 100755 (executable)
index 5ecf346..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-. /lib/functions.sh
-
-BOARD=$(board_name)
-
-if [ $BOARD == "netgear,wndr4700" ]; then
-       case "$ACTION" in
-       released)
-               rmmod dwc2
-       ;;
-       pressed)
-               modprobe dwc2
-       ;;
-       esac
-fi
-
-return 0