Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2002 23:51:55 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Kjell <kmidtset@c2i.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Is kernel ID available to rc.conf
Message-ID:  <20020106235155.K2029@gohan.cjclark.org>
In-Reply-To: <20020107071239.0C14C7EFE@mail.broadpark.no>; from kmidtset@c2i.net on Mon, Jan 07, 2002 at 08:12:38AM %2B0100
References:  <20020107071239.0C14C7EFE@mail.broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020106235155.K2029>