Loading kernel modules for virtualbox via script

Adam Vande More amvandemore at gmail.com
Mon Dec 21 23:37:53 UTC 2009


On Mon, Dec 21, 2009 at 4:37 PM, Leslie Jensen <leslie at eskk.nu> wrote:

>
> Following the suggestion here:
> http://forums.freebsd.org/showpost.php?p=45664&postcount=5
>
> To load two kernel modules via a script in /etc/rc.d/
>
> Produces the following:
>
> WARNING: Ignoring old-style startup script /etc/rc.d/
>
> I found the answer here:
>
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=2896643&group_id=151951&atid=782616
>
> At the moment I load vboxnetflt via /boot/loader.conf and I then load
> vboxnetadp manually before I start virtualbox.
>
> I would like a suggestion on how to load both modules automaticly!
>
> Thanks
>
> /Leslie
>
>
I have this in my crontab

@reboot                                 root    /sbin/kldload
/boot/modules/vboxnetflt.ko



-- 
Adam Vande More


More information about the freebsd-emulation mailing list