summaryrefslogtreecommitdiffstats
path: root/sbull/sbull_unload
diff options
context:
space:
mode:
Diffstat (limited to 'sbull/sbull_unload')
-rw-r--r--sbull/sbull_unload14
1 files changed, 14 insertions, 0 deletions
diff --git a/sbull/sbull_unload b/sbull/sbull_unload
new file mode 100644
index 0000000..aa22dfb
--- /dev/null
+++ b/sbull/sbull_unload
@@ -0,0 +1,14 @@
+#!/bin/sh
+module="sbull"
+device="sbull"
+
+# invoke rmmod with all arguments we got
+/sbin/rmmod $module $* || exit 1
+
+# Remove stale nodes
+rm -f /dev/${device}[a-d]* /dev/${device}
+
+
+
+
+