summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-03 08:24:07 +0000
committerErmal <eri@pfsense.org>2013-01-03 08:26:02 +0000
commit186be7fe112c8b54e4874d3212d9a91a6d86d6b3 (patch)
treefc681fe5bf1b89880793386019d8ae9e0e4d7a66 /etc
parentf86dafa9aef96950101d52f675c2cb6e1bc3b0dc (diff)
downloadpfsense-186be7fe112c8b54e4874d3212d9a91a6d86d6b3.zip
pfsense-186be7fe112c8b54e4874d3212d9a91a6d86d6b3.tar.gz
Move to varrun_path for consistency
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 81d4945..2c9a432 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -337,15 +337,15 @@ function filter_configure_sync($delete_states_if_needed = true) {
if(!empty($filterdns)) {
@file_put_contents("{$g['varetc_path']}/filterdns.conf", $filterdns);
- if (isvalidpid("{$g['tmp_path']}/filterdns.pid"))
- sigkillbypid("{$g['tmp_path']}/filterdns.pid", "HUP");
+ if (isvalidpid("{$g['varrun_path']}/filterdns.pid"))
+ sigkillbypid("{$g['varrun_path']}/filterdns.pid", "HUP");
else {
- killbypid("{$g['tmp_path']}/filterdns.pid");
+ killbypid("{$g['varrun_path']}/filterdns.pid");
/*
* FilterDNS has three debugging levels. The default choosen is 1.
* Availabe are level 2 and greater then 2.
*/
- mwexec("/usr/local/sbin/filterdns -p {$g['tmp_path']}/filterdns.pid -i 300 -c {$g['varetc_path']}/filterdns.conf -d 1");
+ mwexec("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns.pid -i 300 -c {$g['varetc_path']}/filterdns.conf -d 1");
}
}
OpenPOWER on IntegriCloud