summaryrefslogtreecommitdiffstats
path: root/sculld/sculld_unload
blob: 643af92d2f47482b94d5b7623cb698ae806e4777 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
module="sculld"
device="sculld"

# invoke rmmod with all arguments we got
rmmod $module $* || exit 1

# remove nodes
rm -f /dev/${device}[0-3] /dev/${device}

exit 0