summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-01 21:19:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-01 21:19:31 +0000
commit4960d6497cec408516cfde3a2ff47aa0dbf505b3 (patch)
tree0e73a0beca084596dab414a5991e46608eb7f6dc
parent2480c0a464ebfa5b4c09cc027dae438a1299ce5c (diff)
downloadpfsense-4960d6497cec408516cfde3a2ff47aa0dbf505b3.zip
pfsense-4960d6497cec408516cfde3a2ff47aa0dbf505b3.tar.gz
Full path to binaries
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index b13eadc..d64e7fe 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -750,7 +750,7 @@ function filter_nat_rules_generate() {
if(!isset($config['system']['disablenatreflection'])) {
fclose($fd);
- $helpers = trim(exec("ps ax | grep inetd | grep -v grep"));
+ $helpers = trim(exec("/bin/ps ax | /usr/bin/grep inetd | /usr/bin/grep -v grep | /usr/bin/grep 127"));
if(!$helpers)
mwexec("/usr/sbin/inetd -a 127.0.0.1 /var/etc/inetd.conf");
else
OpenPOWER on IntegriCloud