[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: updating /etc/hosts on ifup...



On Thu, Feb 28, 2002 at 10:38:49PM +0100, Wichert Akkerman wrote:

> Previously Mark Eichin wrote:
> > actually, I'm not sure one wants to do this as part of ifup at all,
> > but instead *specifically* as a dhcp hook.
> 
> Not specially dhcp, you want to be able to use the exact same hook
> for ppp as well.
> 
> You might want to take a look at
> http://people.debian.org/~wakkerma/dhcp.tar.gz, which is going to
> be the setup for all my systems. I am replacing /etc/dhclient-script
> with a simple run-parts call over /etc/dhcp.d, which is filled with
> little scripts that do the various bits of (re)configuring my system.

Something very similar to this (but using enter-hooks.d and exit-hooks.d) is
already in the dhcp 3.0 packages that Eloy and I are preparing.

-- 
 - mdz



Reply to: