From f7f227509f2bfa62f1092f6d3891381b4b6f16c9 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 26 Jan 2011 22:15:40 +0000 Subject: Remove last references to dnswatch. --- etc/inc/captiveportal.inc | 4 ++-- etc/rc.newipsecdns | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 76f7a5b..b9fe679 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -1084,8 +1084,8 @@ function setup_dnsfilter_entries() { } } file_put_contents($cp_filterdns_filename, $cp_filterdns_conf); - killbypid("{$g['tmp_path']}/dnswatch-cpah.pid"); - mwexec("/usr/local/sbin/filterdns -p {$g['tmp_path']}/dnswatch-cpah.pid -i 300 -c {$cp_filterdns_filename} -d 1"); + killbypid("{$g['tmp_path']}/filterdns-cpah.pid"); + mwexec("/usr/local/sbin/filterdns -p {$g['tmp_path']}/filterdns-cpah.pid -i 300 -c {$cp_filterdns_filename} -d 1"); } function captiveportal_allowedhostname_configure() { diff --git a/etc/rc.newipsecdns b/etc/rc.newipsecdns index 9239428..3061f16 100755 --- a/etc/rc.newipsecdns +++ b/etc/rc.newipsecdns @@ -45,7 +45,7 @@ log_error("IPSEC: One or more IPSEC tunnel endpoints has changed IP. Refreshing."); /* We will walk the list of hostnames found in the ipsec tunnel - * configuration. Since we are already triggered by dnswatch + * configuration. Since we are already triggered by filterdns * that a hostname has changed we can proceed to compare the * new IP address with the old address from the DNS cache. */ -- cgit v1.1