Date: Sat, 14 Oct 2000 11:38:54 +0200 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: freebsd-security@FreeBSD.ORG Subject: Re: Dynamic rc.firewall Message-ID: <20001014113854.I25237@speedy.gsinet> In-Reply-To: <200010140557.WAA10422@gndrsh.dnsmgr.net>; from freebsd@gndrsh.dnsmgr.net on Fri, Oct 13, 2000 at 10:57:00PM -0700 References: <20001014010830.C37870@jade.chc-chimes.com> <200010140557.WAA10422@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 13, 2000 at 22:57 -0700, Rodney W. Grimes wrote:
>
> Note my stress on doing it the good old way, with the power of the
> Borne shell:
> ip=`ifconfig de1 | while read junk tip junk2 tnm junk3 tbc
> do
> if [ "${junk}" = "inet" ]; then
> echo ${tip}
> break
> fi
> done`
You're leaving out all the aliases here? I guess the "break" has
to leave and the caller has to cope with $ip consisting of
multiple values. Unless we're talking about simple
configurations without aliases.
virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76
Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
--
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001014113854.I25237>
