summaryrefslogtreecommitdiff
path: root/pidevice/unloader.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pidevice/unloader.sh')
-rwxr-xr-xpidevice/unloader.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/pidevice/unloader.sh b/pidevice/unloader.sh
new file mode 100755
index 0000000..ffa2c38
--- /dev/null
+++ b/pidevice/unloader.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+module="pidevice"
+device="pidevice"
+
+#rm -f /dev/$device[0-3]
+rm -f /dev/$device
+rmmod $module