Hi,

On Thu, 31 Mar 2005 11:00:21 +0200
Robert Svoboda <[EMAIL PROTECTED]> wrote:

> Is there some simple way how I can preserve line:
> 
> nameserver 127.0.0.1
> 
> in my resolv.conf?

The "dhcpcd" man page says:

-R     Prevents dhcpcd from replacing existing /etc/resolv.conf file.

I think this is what you're searching for? There's a configuration
option for passing parameters to dhcpcd in /etc/conf.d/net (that's not
in the man page:-):

# For passing custom options to dhcpcd use something like the following.  This
# example reduces the timeout for retrieving an address from 60 seconds (the
# default) to 10 seconds.  Note that this might be too short for some servers,
# so the default is encouraged unless you know what you're doing.
#dhcpcd_eth0="-t 10"

So you'd have to comment that out like

dhcpcd_eth0="-R"



HWH
--
[email protected] mailing list

Reply via email to