> (rc.firewall uses this to get network info:
> onet=`ifconfig xl0 | grep "inet " | awk '{print $6}'`
> oip=`ifconfig xl0 | grep "inet " | awk '{print $2}'` Meaning,
> rc.firewall would also have to be re-ran if the IP is new).
> [also to make things more complicated, I think I ne
On Tue, 8 May 2007 16:11:21 -0500
"Jack Barnett" <[EMAIL PROTECTED]> wrote:
> I have a script that updates some dynamic DNS records (can be run as
> non-root if needed).
>
> It needs to be run on startup - after network is configured and after
> rc.firewall (it'll get blocked if it's run before t
hrm, thanks, but this doesn't seem to work:
`ifconfig xl0 down` doesn't do anything... executes without error, but the
interface stays up.
`/sbin/dhclient` gets a new IP, but doesn't "re-do" the firewall with new
IP, so everything is broken.
echo nameserver 123.34.45.67 > /etc/resolv.conf
e
I have a script that updates some dynamic DNS records (can be run as
non-root if needed).
It needs to be run on startup - after network is configured and after
rc.firewall (it'll get blocked if it's run before the firewall is setup).
What is a good place to put this? I could put it at the end o