16 lines
165 B
Bash
Executable File
16 lines
165 B
Bash
Executable File
#!/bin/sh
|
|
module="short"
|
|
device="short"
|
|
|
|
# invoke rmmod with all arguments we got
|
|
/sbin/rmmod $module $* || exit 1
|
|
|
|
# Remove stale nodes
|
|
|
|
rm -f /dev/${device}0
|
|
|
|
|
|
|
|
|
|
|