Rejig our Makefile to better support NetBSD. We now talk to /var/run/resolvconf direc...
[openresolv] / dnsmasq.in
index 2de1f3b7af983ba711c2b510ec032494e644a934..2bf6e45f8416b7073798c20103c4789c94909a57 100755 (executable)
@@ -40,8 +40,8 @@
 # NOTE: The loopback interface on some systems maybe lo0.
 #domain-needed
 #interface=lo
-#resolv-file=/etc/dnsmasq-resolv.conf
-#conf-file=/etc/dnsmasq-resolvconf.conf
+#resolv-file=@PREFIX@/etc/dnsmasq-resolv.conf
+#conf-file=@PREFIX@/etc/dnsmasq-resolvconf.conf
 
 # The last step is to configure dns configuration for /etc/resolv.conf
 # for the lo interface. You can do this in resolvconf as well by adding
@@ -52,7 +52,7 @@
 VARS="$(resolvconf -v)"
 eval "${VARS}"
 
-PREFIX=
+PREFIX=@PREFIX@
 DNSMASQRESOLV="${PREFIX}/etc/dnsmasq-resolv.conf"
 DNSMASQCONF="${PREFIX}/etc/dnsmasq-resolvconf.conf"