Date: Tue, 22 Dec 2009 20:43:55 -0300 From: Mario Lobo <lobo@bsd.com.br> To: Leslie Jensen <leslie@eskk.nu> Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) CORRECTION ! Message-ID: <200912222043.55783.lobo@bsd.com.br>
next in thread | raw e-mail | index | archive | help
A small correction: take out the "-" lines and add the "+" line It should work now ! ---------------------------------------------------------- #!/bin/sh # # $FreeBSD: src/etc/rc.d/vbox,v 1.0 2009/12/22 20:20:06 mlobo Exp $ # # PROVIDE: vbox - # REQUIRE: LOGIN - # KEYWORD: nojail + # BEFORE: LOGIN . /etc/rc.subr name="vbox" start_cmd="${name}_start" stop_cmd=":" vboxm_start() { /sbin/kldload vboxnetflt /sbin/kldload vboxnetadp } vbox_start() { if checkyesno vbox_enable; then echo ' VirtualBox modules' vboxm_start fi } load_rc_config $name run_rc_command "$1" ------------------------------------------------------- Place vbox_enable="YES" on /etc/rc.conf -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912222043.55783.lobo>