On Sun, 21 Sep 2008 18:34:15 +0100, Robert Bridge wrote:

> > Like having a /etc/hosts.home and a /etc/hosts.world and a script
> > that sysmlinks them to /etc/hosts depending on the fact that i can
> > ping or not 192.168.1.5?  
> 
> Basically, I would probably look at methods of hooking it onto the IP
> assigned to the device (ifplugd should be able to do this), but that is
> the basic idea.

You could do it in the postup function of /etc/conf.d/net.


-- 
Neil Bothwick

Your mama's like a railroad track: She gets laid all over the country.

Attachment: signature.asc
Description: PGP signature

Reply via email to