You are not logged in.
As the subject says, how can I stop dhcpcd from writing resolv.conf?
Or, more specifically, how can I specify my own "search" line so it is always the same?
I've tried calling dhcpcd with "-C resolv.conf" but for some reason it doesn't work.
Thanks!
Offline
?
put it into /etc/resolv.conf.head or /etc/resolv.conf.tail
?
don't drink unwashed fruit juice.
i never make predictions, especially about the future.
Offline
Here is what I've put in my /etc/conf.d/dhcpcd
DHCPCD_ARGS="-C resolv.conf -q"
Offline
You can try the command 'chattr +i /etc/resolve.conf'. The '+i' option will prevent even root from erasing or changing the contents of a file. To reverse the file back to normal, you can use '-i'.
Offline