]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - linux/unbind-proxmark
merge linux and windows clients into one directory... will consolidate makefiles...
[proxmark3-svn] / linux / unbind-proxmark
diff --git a/linux/unbind-proxmark b/linux/unbind-proxmark
deleted file mode 100755 (executable)
index 986c001..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-for i in /sys/bus/usb/devices/*; do
-       if grep "9ac4" "${i}/idVendor" >/dev/null 2>&1; then
-               echo "Found Proxmark..."
-               dev=`basename "${i}"`
-
-               for j in /sys/bus/usb/drivers/usbhid/*; do
-                       if basename "${j}"|grep "^${dev}" >/dev/null; then
-                               bound="`basename "${j}"`"
-                               echo "Unbinding ${bound}..."
-                               echo -n "${bound}" >/sys/bus/usb/drivers/usbhid/unbind
-                       fi
-               done
-       fi
-done
Impressum, Datenschutz