Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 06:02:02 +0200
From:      =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= <decke@bluelife.at>
To:        =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@des.no>
Cc:        vbox@freebsd.org
Subject:   Re: virtualbox-ose-kmod rc scripts
Message-ID:  <CAE-m3X1mUn_xNubohNXzjkpkQZzNkjRJKfomtjLOUOFN8w6ZyA@mail.gmail.com>
In-Reply-To: <861tvh62ni.fsf@nine.des.no>
References:  <861tvh62ni.fsf@nine.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 26.05.2014 01:49 schrieb "Dag-Erling Sm=C3=B8rgrav" <des@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X1mUn_xNubohNXzjkpkQZzNkjRJKfomtjLOUOFN8w6ZyA>