Full path to binaries

This commit is contained in:
Scott Ullrich 2006-01-01 21:19:31 +00:00
parent 2480c0a464
commit 4960d6497c

View File

@ -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