On Tue, 2010-10-26 at 18:44 +0100, davidMbrooke wrote:
> I think this is different with Bering-uClibc4 - there is a "new" dhcpcd.
> I am using that and I have no /etc/dhcpc/resolv.conf generated.
> 
Sure enough, with the "new" dhcpcd there is a
script /libexec/dhcpcd-hooks/20-resolv.conf which explicitly writes
to /etc/resolv.conf. Calling 20-resolv.conf is currently suppressed by a
"nohook" line in /etc/dhcpcd.conf though.

So, I could:
   - Change the 20-resolv.conf script to write to a different file
instead, either /etc/dhcpc/resolv.conf or e.g. /etc/dnsmasq.resolv.conf
(I prefer the latter).
   - Change /etc/dhcpcd.conf to call 20-resolv.conf again
   - Change /etc/dnsmasq.conf to refer to /etc/dnsmasq.resolv.conf via
"resolv-file"

Thoughts?

dMb


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to