summaryrefslogtreecommitdiffstats
path: root/sculld/sculld_unload
blob: edebbf940fa5cf188c52d57e895846aa9fb0d10d (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
/sbin/rmmod $module $* || exit 1

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

exit 0