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>
This commit is contained in:
Christian Lamparter 2019-05-19 12:11:13 +02:00
parent a7967bada9
commit 2d0c0abf5d
1 changed files with 0 additions and 18 deletions

View File

@ -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