15 lines
184 B
Plaintext
15 lines
184 B
Plaintext
|
#!/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}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|