diff options
Diffstat (limited to 'config/snort/snort.inc')
-rw-r--r-- | config/snort/snort.inc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 65086621..0a7af0c3 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -705,10 +705,8 @@ function snort_snortloglimit_install_cron($should_install) { unset($config['cron']['item'][$x]); break; } - configure_cron(); } - /* func for updating cron */ function snort_rm_blocked_install_cron($should_install) { @@ -934,8 +932,7 @@ function sync_snort_package_remove_old() } /* make sure this func on writes to files and does not start snort */ -function sync_snort_package() -{ +function sync_snort_package() { global $config, $g; /* all new files are for the user snort nologin */ @@ -965,12 +962,6 @@ function sync_snort_package() exec('/bin/chmod -R 770 /var/log/snort'); exec('/bin/chmod -R 770 /usr/local/lib/snort'); exec('/bin/chmod -R 770 /usr/local/etc/snort/'); - - /* auto install loglimit dfault if value not set */ - $snortloglimitsize = $config['installedpackages']['snortglobal']['snortloglimitsize']; - $snortloglimit = $config['installedpackages']['snortglobal']['snortloglimit']; - - snort_snortloglimit_install_cron($config['installedpackages']['snortglobal']['snortloglimit'] == 'on' ? true : false); } /* only run when a single iface needs to sync */ |