change the way resolv.conf is being created, so that it also works when dnsmasq is...
[openwrt/svn-archive/openwrt.git] / openwrt / package / ppp / Makefile
index 79e03c037e333d0a6ac50638aea16c90489db56a..3acbfe6649ad3ea5c709082c4fe640b1d2ffba51 100644 (file)
@@ -88,7 +88,7 @@ endif
 
 $(IPKG_PPP):
        install -d -m0755 $(IDIR_PPP)/etc/ppp
-       ln -sf /tmp/resolv.conf $(IDIR_PPP)/etc/ppp/resolv.conf
+       ln -sf /tmp/resolv.conf.auto $(IDIR_PPP)/etc/ppp/resolv.conf
        install -m0600 ./files/etc/ppp/chap-secrets $(IDIR_PPP)/etc/ppp/
        install -m0644 ./files/etc/ppp/options $(IDIR_PPP)/etc/ppp/
        $(INSTALL_FILTER)