#!/bin/sh
. /lib/functions.sh
BOARD=$(board_name)
if [ $BOARD == "wndr4700" ]; then
case "$ACTION" in
released)
rmmod dwc2
;;
pressed)
modprobe dwc2
esac
fi
return 0