blob: 88e62a7270adfd6d503de7ea1bbd7fd01f33b804 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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}
|