diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2019-05-19 12:11:13 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-05-19 12:29:24 +0200 |
commit | 2d0c0abf5d98d1f85f9d5253e0162383c33200a6 (patch) | |
tree | 8938ec3d0a7222e8effcfebdb55d1d3f6abfeb5b /target/linux | |
parent | a7967bada914c952efff77d6ca2c72d1f7c19c83 (diff) | |
download | upstream-2d0c0abf5d98d1f85f9d5253e0162383c33200a6.tar.gz upstream-2d0c0abf5d98d1f85f9d5253e0162383c33200a6.tar.bz2 upstream-2d0c0abf5d98d1f85f9d5253e0162383c33200a6.zip |
apm821xx: WNDR4700: remove obsolete sd-card change detection
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>
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/apm821xx/base-files/etc/rc.button/BTN_1 | 18 |
1 files changed, 0 insertions, 18 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 deleted file mode 100755 index 5ecf346b53..0000000000 --- a/target/linux/apm821xx/base-files/etc/rc.button/BTN_1 +++ /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 |