Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 15:25:44 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Sean Ellis <sellis@intergate.ca>
Cc:        Zev Thompson <zev@interchange.ubc.ca>, Scott Nolde <scott@smnolde.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw script values
Message-ID:  <20011106152544.F386@blossom.cjclark.org>
In-Reply-To: <179093989.20011106145020@intergate.ca>; from sellis@intergate.ca on Tue, Nov 06, 2001 at 02:50:20PM -0800
References:  <3.0.32.20011106123552.00db8e40@pop.interchange.ubc.ca> <20011106141846.C386@blossom.cjclark.org> <179093989.20011106145020@intergate.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 06, 2001 at 02:50:20PM -0800, Sean Ellis wrote:
[snip]

> I have a couple of related questions. Since I have more than one
> script I was hoping to be able define an enviromental variable that I
> could check really easily in case I forget which was the last script
> that ran; ie. 'echo $FW'. Nothing I've tried so far works. I've added
> the line 'echo $0 > /var/run/firewall', which is good, but I'd like to
> know why my attempts to export the value failed.

I don't think a child can change the parent's environment.

> Also, the DHCP client on my Slackware box executes a script when the
> ip changes, does the FreeBSD dhcp client have the same function. I
> couldn't find it when I looked, thanks,

dhclient-script(8).
-- 
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?20011106152544.F386>