Plan 9 from Bell Labs’s /n/sources/contrib/aganti/capDevice/src/cap_unload
#!/bin/sh module="cap" device="cap" /sbin/rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device} /dev/${device}hash rm -f /dev/${device} /dev/${device}use
(This is a user-contributed directory and should not be interpreted as statement by Alcatel-Lucent.)