mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
5d5c0b0582
This was not converted to the new, dt-based board name.
Fixes: e90dc8d272
("apm821xx: convert to device-tree board detection")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
19 lines
191 B
Bash
Executable File
19 lines
191 B
Bash
Executable File
#!/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
|