From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 20:22:03 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A4B7106568F for ; Tue, 22 Dec 2009 20:22:03 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id C18B58FC14 for ; Tue, 22 Dec 2009 20:22:02 +0000 (UTC) Received: (qmail 17924 invoked by uid 399); 22 Dec 2009 20:22:01 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 22 Dec 2009 20:22:01 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B312A6D.4040907@FreeBSD.org> Date: Tue, 22 Dec 2009 12:22:05 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Leslie Jensen References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> In-Reply-To: <4B2FF8A0.8080009@eskk.nu> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 20:22:03 -0000 The appropriate way to do this is to add them to /boot/loader.conf, like this: vboxdrv_load="yes" vboxnetflt_load="yes" vboxnetadp_load="yes" You could also write a new-style rc.d script to do this fairly easily, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html for more information. There are also existing ports that use rc.d to load kernel modules, although none of the names come to mind off hand. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/