virtualbox-ose-kmod rc scripts

Bernhard Fröhlich decke at bluelife.at
Mon May 26 04:02:04 UTC 2014


Am 26.05.2014 01:49 schrieb "Dag-Erling Smørgrav" <des at des.no>:
>
> First of all, why is there a vboxnet rc script but not a vboxdrv rc
> script?
>
> Second, there is already support in /etc/rc.subr for checking whether a
> module is loaded, and loading it if it isn't.  Search for load_kld.
> There is no unload_kld, but IMHO you can just "kldunload" blindly.

The vboxdrv module needs to be loaded via loader.conf or it can cause
kernel panics. There are also some features that don't work properly if I
remember correctly because of the startup order of startscripts so we can't
use a rc script.


More information about the freebsd-emulation mailing list