aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/snort-dev/snort.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index cd8f40ec..fa086e84 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -550,6 +550,9 @@ if ($id != '' && $if_real != '') //new
/* if rules exist cp rules to each iface */
create_rules_iface($id, $if_real, $snort_uuid);
+ /* create snort bootup file snort.sh only create once */
+ create_snort_sh();
+
/* create barnyard2 configuration file */
$snortbarnyardlog_info_chk = $config['installedpackages']['snortglobal']['rule'][$id]['barnyard_enable'];
if ($snortbarnyardlog_info_chk == 'on')