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>
18 lines
191 B
Bash
Executable file
18 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
|