From owner-freebsd-questions@FreeBSD.ORG Thu Dec 15 21:13:03 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14CEE16A41F for ; Thu, 15 Dec 2005 21:13:03 +0000 (GMT) (envelope-from tuxgirl@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 171C643D5E for ; Thu, 15 Dec 2005 21:13:02 +0000 (GMT) (envelope-from tuxgirl@gmail.com) Received: by zproxy.gmail.com with SMTP id s1so527520nze for ; Thu, 15 Dec 2005 13:13:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=c2yjodnkZ7ABzekItVtHuFZxFnB89OjC8n91PbpZj6/XWlOHzftnL1bLbJ+LsUh/f/+fDcGGBLNCuxikG2xiw+/D9aDQ3OaPrzPgOI/LHW1PkVo4zfUhfibmCxMok/a3u8+jdx+ko6mrFXEXIIS88jsiFuyaC5jwnUdPBaa+Z+s= Received: by 10.65.148.13 with SMTP id a13mr1449877qbo; Thu, 15 Dec 2005 13:13:01 -0800 (PST) Received: by 10.65.194.11 with HTTP; Thu, 15 Dec 2005 13:13:01 -0800 (PST) Message-ID: <6e4453640512151313w5d44a059yf0aa15f45c6f9ff9@mail.gmail.com> Date: Thu, 15 Dec 2005 14:13:01 -0700 From: TuxGirl To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: run commands on boot/loading modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 21:13:03 -0000 Hi, There are 3 commands I was having to run each time that I started up my computer, and I'm trying to figure out the correct way to have them run automatically. kldload if_iwi iwicontrol -i iwi- -d /usr/local/share/iwi-firmware -m bss kldload snd_ich I added these commands to the bottom of /etc/rc.conf, and they appear to be working, but during boot, I see a lot of errors relating to them. (I haven't found the boot log yet, so I can't post them here, but in essence, they were complaining that files existed, and i know that it tried to load the modules at least twice... So, I'm guessing that /etc/rc.conf isn't the right place to add these 3 lines. I just want the commands to run once during the boot, and probably sometime near the end of boot so that I don't have to worry about them depending on something that's done earlier on (at least for the wireless stuff). Thanks again to everyone for all the help! ~Erin