]>
git.zerfleddert.de Git - proxmark3-svn/blob - linux/unbind-proxmark
3 for i
in /sys
/bus
/usb
/devices
/*; do
4 if grep "9ac4" "${i}/idVendor" >/dev
/null
2>&1; then
5 echo "Found Proxmark..."
8 for j
in /sys
/bus
/usb
/drivers
/usbhid
/*; do
9 if basename "${j}"|
grep "^${dev}" >/dev
/null
; then
10 bound
="`basename "${j}"`"
11 echo "Unbinding ${bound}..."
12 echo -n "${bound}" >/sys
/bus
/usb
/drivers
/usbhid
/unbind