16 lines
174 B
Plaintext
16 lines
174 B
Plaintext
|
#!/bin/sh
|
||
|
module="shortprint"
|
||
|
device="shortprint"
|
||
|
|
||
|
# invoke rmmod with all arguments we got
|
||
|
/sbin/rmmod $module $* || exit 1
|
||
|
|
||
|
# Remove stale nodes
|
||
|
rm -f /dev/${device}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|