Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jun 2002 11:06:41 +1000
From:      BSD Freak <bsd-freak@mbox.com.au>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Getting a DHCP client to give me it's address
Message-ID:  <e15cede16c93.e16c93e15ced@mbox.com.au>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm sure this is possible but not sure wherer to look.

Is there any script that the FreeBSD DHCP client runs when it obtains 
an IP address (something similar to ppp.linkup). I need to basically 
run a script with the newly obatined IP address as an argument, eg:

I need it to run something like this:

/usr/local/scripts/email-my-ip.sh $IP


Thanks in advance.....


---------------------------------------------------------------------
Faxes delivered directly to any email address, new to mBox!
Find out more http://www.mbox.com.au/fax

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?e15cede16c93.e16c93e15ced>