From owner-freebsd-questions@FreeBSD.ORG Thu Dec 15 21:47:28 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 A662F16A420 for ; Thu, 15 Dec 2005 21:47:28 +0000 (GMT) (envelope-from chand0s@list.ru) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DD4943D46 for ; Thu, 15 Dec 2005 21:47:28 +0000 (GMT) (envelope-from chand0s@list.ru) Received: from [213.242.10.70] (port=44237 helo=lazy.lazy.org) by mx1.mail.ru with asmtp id 1En0wf-000O3H-00; Fri, 16 Dec 2005 00:47:27 +0300 To: TuxGirl , questions@freebsd.org References: <6e4453640512151313w5d44a059yf0aa15f45c6f9ff9@mail.gmail.com> Message-ID: From: "Vasilkov Vasily" Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 16 Dec 2005 00:47:11 +0300 In-Reply-To: <6e4453640512151313w5d44a059yf0aa15f45c6f9ff9@mail.gmail.com> User-Agent: Opera M2/8.0 (Win32, build 7561) Cc: Subject: Re: 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:47:28 -0000 On Fri, 16 Dec 2005 00:13:01 +0300, TuxGirl wrote: > 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 "dmesg" - boot log...