On Sat, 21 May 2005 12:35:45 +0200, Jean Magnan de Bornier wrote:

> I want to execute "ln -sf /etc/resolv.conf.fac /etc/resolv.conf"
> *before* /etc/init.d/net.eth0, so that if I am at the "fac" (my office)
> location I have these dns set up, but if I am home with dhcp the
> resolv.conf file will be overwritten. 
> Should I add a script in /etc/init.d for that, or is there something
> simpler?

See the preup() function in /etc/conf.d/net, this is executed before the
interface is brought up.


-- 
Neil Bothwick

Philosophical error: Demonstrate the existence of a key to continue

Attachment: pgpSNipz8VsBc.pgp
Description: PGP signature

Reply via email to