Avery Payne:
I need to think through a kernel-neutral method of handling driver loading. There are a handful of services that require this to succesfully launch. For example, cpufreqd requires kernel modules to load first, but this is linux-specific. Does FreeBSD have any requirements like this?
Yes, plenty. So nosh has load-kernel-module and unload-kernel-module verbs in system-control, which are invoked by kmod@* service bundles in their "start" and "stop" programs, which are in turn straightforward dependencies from other services in the normal manner.
