blob: bb91f7196c07758c839d3d87aec0d2b4b009fb4d (
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
/sbin/rmmod $module $* || exit 1
# remove nodes
rm -f /dev/${device}[0-3] /dev/${device}
exit 0
|