1 |
> > |
2 |
> > |
3 |
> Yes, but after a reboot (I daily boot and shut down my computer) the |
4 |
> file's content is refreshed by the DHCP server. (nameserver 192.168.0.1) |
5 |
> -- |
6 |
> gentoo-user@g.o mailing list |
7 |
> |
8 |
> |
9 |
I fixed this problem by adding the following flags to /etc/conf.d/net on the |
10 |
|
11 |
dhcpcd_eth0="-R -N -Y" |
12 |
|
13 |
line. |
14 |
|
15 |
-R Prevents dhcpcd from replacing existing <etcDir>/resolv.conf file. |
16 |
|
17 |
-Y Prevents dhcpcd from replacing existing <etcDir>/yp.conf file. |
18 |
Domainname is not updated unless -D is specified. |
19 |
|
20 |
-N Prevents dhcpcd from replacing existing <etcDir>/ntp.conf file. |
21 |
|
22 |
|
23 |
-- |
24 |
Sarpy Sam |
25 |
|
26 |
-- |
27 |
gentoo-user@g.o mailing list |