From 7586d7f0b6fb9f24ba2d406941d963cf5b0068e8 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 21 Jan 2018 17:12:58 +0100 Subject: T523: Use new location for dnsmasq config files --- scripts/vyatta-op-dns-forwarding.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vyatta-op-dns-forwarding.pl b/scripts/vyatta-op-dns-forwarding.pl index 5f94c15..ae72b37 100755 --- a/scripts/vyatta-op-dns-forwarding.pl +++ b/scripts/vyatta-op-dns-forwarding.pl @@ -122,7 +122,7 @@ sub get_dns_nameservers { my @use_dhcp_nameservers = $vyatta_config->returnOrigValues("dhcp"); my @use_nameservers = $vyatta_config->returnOrigValues("name-server"); my @resolv_conf_nameservers = `grep "^nameserver" /etc/resolv.conf`; - my @dnsmasq_conf_nameservers = `grep "server=" /etc/dnsmasq.conf`; + my @dnsmasq_conf_nameservers = `grep "server=" /etc/dnsmasq.d/vyos.conf`; my @dnsmasq_running = `ps ax | grep dnsmasq | grep -v grep`; if (!(defined $use_system_nameservers) && (@use_dhcp_nameservers == 0) && (@use_nameservers == 0)) { -- cgit v1.2.3