12 lines
182 B
Plaintext
12 lines
182 B
Plaintext
|
#!/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
|