aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_check_for_rule_updates.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-26 16:06:07 +0100
committerErmal <eri@pfsense.org>2013-01-26 16:06:07 +0100
commite48f73c1266f1360f8170474b1df54132ef9493a (patch)
tree0504c06aff6b8f678ee3723aba1633cd56308859 /config/snort/snort_check_for_rule_updates.php
parent71e82aa576c3969c35ae4394f4ee736cf8407af6 (diff)
downloadpfsense-packages-e48f73c1266f1360f8170474b1df54132ef9493a.tar.gz
pfsense-packages-e48f73c1266f1360f8170474b1df54132ef9493a.tar.bz2
pfsense-packages-e48f73c1266f1360f8170474b1df54132ef9493a.zip
Up the sleep time a bit
Diffstat (limited to 'config/snort/snort_check_for_rule_updates.php')
-rwxr-xr-xconfig/snort/snort_check_for_rule_updates.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php
index 5d1d675c..af5d378c 100755
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -385,7 +385,7 @@ if ($snortdownload == 'on' || $emergingthreats == 'on') {
}
update_status(gettext('Restarting Snort to activate the new set of rules...'));
exec("/bin/sh /usr/local/etc/rc.d/snort.sh restart");
- sleep(10);
+ sleep(20);
if (!is_process_running("snort"))
exec("/bin/sh /usr/local/etc/rc.d/snort.sh start");
update_output_window(gettext("Snort has restarted with your new set of rules..."));