aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/snort/snort_download_rules.php1
-rw-r--r--packages/snort/snort_rulesets.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php
index 12de67a2..bca57b7e 100644
--- a/packages/snort/snort_download_rules.php
+++ b/packages/snort/snort_download_rules.php
@@ -182,6 +182,7 @@ $config['installedpackages']['snort']['last_ruleset_download'] = date("Y-m-d");
write_config();
stop_service("snort");
+sleep(2);
start_service("snort");
/* cleanup temporary directory */
diff --git a/packages/snort/snort_rulesets.php b/packages/snort/snort_rulesets.php
index ccfc3585..5ca19c7d 100644
--- a/packages/snort/snort_rulesets.php
+++ b/packages/snort/snort_rulesets.php
@@ -44,6 +44,7 @@ if($_POST) {
write_config();
stop_service("snort");
create_snort_conf();
+ sleep(2);
start_service("snort");
$savemsg = "The snort ruleset selections have been saved.";
}