summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-03-08 00:32:22 +0000
committerErmal Luçi <eri@pfsense.org>2009-03-08 00:32:22 +0000
commit1ab56363bbc910157191850b45d78f9ec98e5099 (patch)
tree410010ad8e06b8ff8a045bf9a26e8757f2fb9a96 /etc/inc/config.inc
parent179941d470b52b6d4164a62bf1c146d7ee0e590b (diff)
downloadpfsense-1ab56363bbc910157191850b45d78f9ec98e5099.zip
pfsense-1ab56363bbc910157191850b45d78f9ec98e5099.tar.gz
* Do not restart ipfw-classifyd on every iteration just send a signal to reload the config. This way no data is lost
* Some cleanups to fix warning/spamming of the System logs * Present is_module_loaded() function to check if a module is loaded.
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 6bd22c8..6e9edc6 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -2834,7 +2834,7 @@ function system_start_ftp_helpers() {
if($g['debug'])
log_error("Config: FTP proxy disabled for interface {$ifent}");
- $helpers = exec("/bin/ps awux | grep \"/usr/local/sbin/ftp-proxy {$shaper_queue} -p {$port}\" | grep -v grep | sed \"s/ */ /g\" | cut -f2 -d\" \"");
+ $helpers = `/bin/ps awux | grep "ftp-proxy" | grep "{$port}" | grep -v grep | awk '{ print $2 }'`;
if($helpers)
mwexec("/bin/kill {$helpers}");
$interface_counter++;
OpenPOWER on IntegriCloud