summaryrefslogtreecommitdiff
path: root/pidevice/unloader.sh
diff options
context:
space:
mode:
authorGuillermo Ramos2011-08-10 22:43:05 +0200
committerGuillermo Ramos2011-08-10 22:43:05 +0200
commita722d196c465bae07075819a8bdfb9e9376d2651 (patch)
tree560016efba95aff18637c5c7ee8ce7b623cb931f /pidevice/unloader.sh
parent00d5bce9f24e2114316bd1165ebdad05644b7365 (diff)
downloadlkm-a722d196c465bae07075819a8bdfb9e9376d2651.tar.gz
AƱadidos pidevice y hang
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