diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-07-08 17:50:00 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-07-08 17:50:00 +0200 |
commit | d949010f756df30fa702c3804ba33deda7c33608 (patch) | |
tree | d0565a01e1b5d40497e985fc22d7c15550303805 | |
parent | 3164f655ed86a033570ed89e86b7fd7058b69ced (diff) | |
download | bin-d949010f756df30fa702c3804ba33deda7c33608.tar.gz bin-d949010f756df30fa702c3804ba33deda7c33608.tar.xz |
Add reset-usb-dev.sh
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | reset-usb-dev.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/reset-usb-dev.sh b/reset-usb-dev.sh new file mode 100755 index 0000000..75ec52d --- /dev/null +++ b/reset-usb-dev.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +echo 0 > /sys/bus/usb/devices/$1/authorized +echo 1 > /sys/bus/usb/devices/$1/authorized |