Plan 9 from Bell Labs’s /usr/web/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