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