From owner-freebsd-questions Sun Jan 6 23:52:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hawk.prod.itd.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id CF25237B402 for ; Sun, 6 Jan 2002 23:52:15 -0800 (PST) Received: from user-33qtnie.dialup.mindspring.com ([199.174.222.78] helo=gohan.cjclark.org) by hawk.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16NUZo-0001fh-00; Sun, 06 Jan 2002 23:52:14 -0800 Received: (from cjc@localhost) by gohan.cjclark.org (8.11.6/8.11.1) id g077pvZ03661; Sun, 6 Jan 2002 23:51:57 -0800 (PST) (envelope-from cjc) Date: Sun, 6 Jan 2002 23:51:55 -0800 From: "Crist J. Clark" To: Kjell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Is kernel ID available to rc.conf Message-ID: <20020106235155.K2029@gohan.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020107071239.0C14C7EFE@mail.broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020107071239.0C14C7EFE@mail.broadpark.no>; from kmidtset@c2i.net on Mon, Jan 07, 2002 at 08:12:38AM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jan 07, 2002 at 08:12:38AM +0100, Kjell wrote: > List members! > > At the top of the dmesg.boot file I find the information > a@b.my.net:/usr/src/sys/compile/IPFW > Is this information available to rc.conf allowing me to use an > if..then..else construct to initialize either my ipfw or ipf firewall > depending upon whether I boot from the kernel generated from > the IPFW or IPF config file? $ uname -v That said, you can probably just use one set of variables in rc.conf. When the system tries to start up the firewall that is not there, you may get some annoying error messages, but the system should still come up. -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message