summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2011-08-24 17:20:13 +0200
committerWarren Baker <warren@decoy.co.za>2011-08-24 17:20:13 +0200
commitdefe335cd33381b9aa087ba697069cf72cd0e0a8 (patch)
tree20feaeb5075ee36f928304cdff4e20dcbbae2a3a /etc/inc
parent52e21fa190b1ec37f8ffd9b6fe1ddf758050a640 (diff)
downloadpfsense-defe335cd33381b9aa087ba697069cf72cd0e0a8.zip
pfsense-defe335cd33381b9aa087ba697069cf72cd0e0a8.tar.gz
DNSMasq was generating the error 'Socket operation on non-socket' and using 100% of the CPU, changing it to mwexec_bg() resolves the issue.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index c8390b4..a6a99a2 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -666,7 +666,7 @@ function services_dnsmasq_configure() {
}
/* run dnsmasq */
- mwexec("/usr/local/sbin/dnsmasq --local-ttl 1 --all-servers {$dns_rebind} --dns-forward-max=5000 --cache-size=10000 {$args}");
+ mwexec_bg("/usr/local/sbin/dnsmasq --local-ttl 1 --all-servers {$dns_rebind} --dns-forward-max=5000 --cache-size=10000 {$args}");
if ($g['booting'])
echo "done.\n";
OpenPOWER on IntegriCloud