diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-04-27 15:48:22 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-04-27 15:48:22 -0300 |
commit | 277f2c1ae87c97c6eaf82b9b22cae58b9460279e (patch) | |
tree | 066cb100a3dd78132bd3f658bb675dda757189ed /config/sarg/sarg_realtime.php | |
parent | 1ccbfc669535dfa0e64e52cec914c6d5ae0f8415 (diff) | |
download | pfsense-packages-277f2c1ae87c97c6eaf82b9b22cae58b9460279e.tar.gz pfsense-packages-277f2c1ae87c97c6eaf82b9b22cae58b9460279e.tar.bz2 pfsense-packages-277f2c1ae87c97c6eaf82b9b22cae58b9460279e.zip |
Sanitize sarg version, add port_category, run_depends and fix pbi checking
Diffstat (limited to 'config/sarg/sarg_realtime.php')
-rwxr-xr-x | config/sarg/sarg_realtime.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sarg/sarg_realtime.php b/config/sarg/sarg_realtime.php index c5d926e5..f7618d1a 100755 --- a/config/sarg/sarg_realtime.php +++ b/config/sarg/sarg_realtime.php @@ -28,7 +28,7 @@ */ $pf_version=substr(trim(file_get_contents("/etc/version")),0,3); -if ($pf_version > 2.0) +if ($pf_version == "2.1" || $pf_version == "2.2") define('SARG_DIR', '/usr/pbi/sarg-' . php_uname("m")); else define('SARG_DIR', '/usr/local'); |