diff options
Diffstat (limited to 'scullp/scullp_unload')
-rw-r--r-- | scullp/scullp_unload | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scullp/scullp_unload b/scullp/scullp_unload new file mode 100644 index 0000000..adf5e2c --- /dev/null +++ b/scullp/scullp_unload @@ -0,0 +1,11 @@ +#!/bin/sh +module="scullp" +device="scullp" + +# invoke rmmod with all arguments we got +/sbin/rmmod $module $* || exit 1 + +# remove nodes +rm -f /dev/${device}[0-3] /dev/${device} + +exit 0 |