summaryrefslogtreecommitdiffstats
path: root/reset-usb-dev.sh
blob: 75ec52d25092e553fc556e14ffe140fef98ef3a6 (plain)
1
2
3
4
#!/bin/bash

echo 0 > /sys/bus/usb/devices/$1/authorized
echo 1 > /sys/bus/usb/devices/$1/authorized