blob: 29a07d7131caea66f1ed50a8791098d2403f98ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
module="scullc"
device="scullc"
# invoke rmmod with all arguments we got
rmmod $module $* || exit 1
# remove nodes
rm -f /dev/${device}[0-3] /dev/${device}
exit 0
|