blob: eae8068e01f005b719d9e6ffb30f6e803565b109 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
module="simple"
device="simple"
# invoke rmmod with all arguments we got
rmmod $module $* || exit 1
# Remove stale nodes
rm -f /dev/${device}[rn]
|