Date: Sun, 25 May 2014 22:09:53 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: vbox@freebsd.org Subject: virtualbox-ose-kmod rc scripts Message-ID: <861tvh62ni.fsf@nine.des.no>
next in thread | raw e-mail | index | archive | help
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. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861tvh62ni.fsf>