diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-19 16:29:57 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-19 16:29:57 -0300 |
commit | 96fcabaae31466118a703c6a29939b9f50bc77f6 (patch) | |
tree | dbee968895ca1987449084066de57f06f67eb1c2 /etc/inc/filter.inc | |
parent | 692c21fd3788af7a5c22cca2c271650b0a9f24e8 (diff) | |
download | pfsense-96fcabaae31466118a703c6a29939b9f50bc77f6.zip pfsense-96fcabaae31466118a703c6a29939b9f50bc77f6.tar.gz |
Replace some backticks by exec ans simplify commands
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 6526d44..e0cff7e 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -106,7 +106,7 @@ function flowtable_configure() { else $maxstates = 150000; // nmbflows cpu count * ($maxstates * 2) - $cpus = trim(`/sbin/sysctl -n kern.smp.cpus`, " \n"); + $cpus = trim(exec('/sbin/sysctl -n kern.smp.cpus'), " \n"); $nmbflows = ($cpus*($maxstates*2)); // Flowtable currently only works on 8.0 if(get_freebsd_version() == "8") { |