diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-20 13:26:37 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-20 13:26:37 -0400 |
commit | 433d0b37bfb7cd42145ed5c93c690896fc4944fa (patch) | |
tree | 09fd049c94775059c1b2f6f62030843beb656a99 /config/snort/snort_post_install.php | |
parent | 211ec39d280dcefd1a24fa875c587ed2301dadd5 (diff) | |
download | pfsense-packages-433d0b37bfb7cd42145ed5c93c690896fc4944fa.tar.gz pfsense-packages-433d0b37bfb7cd42145ed5c93c690896fc4944fa.tar.bz2 pfsense-packages-433d0b37bfb7cd42145ed5c93c690896fc4944fa.zip |
Rename critical CONSTANTS so they are unique to the package.
Diffstat (limited to 'config/snort/snort_post_install.php')
-rw-r--r-- | config/snort/snort_post_install.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/snort/snort_post_install.php b/config/snort/snort_post_install.php index 36a54298..d3bc4d63 100644 --- a/config/snort/snort_post_install.php +++ b/config/snort/snort_post_install.php @@ -57,8 +57,8 @@ global $config, $g, $rebuild_rules, $pkg_interface, $snort_gui_include; * updated version icluded with the * * updated GUI package. * ****************************************/ -if (!defined('SID_MODS_PATH')) - define('SID_MODS_PATH', '/var/db/snort/sidmods/'); +if (!defined('SNORT_SID_MODS_PATH')) + define('SNORT_SID_MODS_PATH', '/var/db/snort/sidmods/'); /**************************************** * End of PHP caching workaround * @@ -69,7 +69,7 @@ $snortlogdir = SNORTLOGDIR; $snortlibdir = SNORTLIBDIR; $rcdir = RCFILEPREFIX; $flowbit_rules_file = FLOWBITS_FILENAME; -$snort_enforcing_rules_file = ENFORCING_RULES_FILENAME; +$snort_enforcing_rules_file = SNORT_ENFORCING_RULES_FILENAME; /* Hard kill any running Snort processes that may have been started by any */ /* of the pfSense scripts such as check_reload_status() or rc.start_packages */ @@ -118,8 +118,8 @@ unlink_if_exists("{$rcdir}barnyard2"); /* Create required log and db directories in /var */ safe_mkdir(SNORTLOGDIR); -safe_mkdir(IPREP_PATH); -safe_mkdir(SID_MODS_PATH); +safe_mkdir(SNORT_IPREP_PATH); +safe_mkdir(SNORT_SID_MODS_PATH); /* If installed, absorb the Snort Dashboard Widget into this package */ /* by removing it as a separately installed package. */ |