From 89fb04559a6e9bf1f5806bdbf3a351fe725485e9 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Fri, 3 Jul 2015 14:29:43 -0400 Subject: Start Snort in the background on a package re-install. --- config/snort/snort_post_install.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/snort/snort_post_install.php b/config/snort/snort_post_install.php index 7b931246..2366c87d 100644 --- a/config/snort/snort_post_install.php +++ b/config/snort/snort_post_install.php @@ -245,9 +245,8 @@ if ($config['installedpackages']['snortglobal']['forcekeepsettings'] == 'on') { if (!($g['booting'])) { if ($pkg_interface <> "console") { update_status(gettext("Starting Snort using rebuilt configuration...")); - update_output_window(gettext("Please wait while Snort is started...")); - mwexec("{$rcdir}snort.sh start"); - update_output_window(gettext("Snort has been started using the rebuilt configuration...")); + mwexec_bg("{$rcdir}snort.sh start"); + update_output_window(gettext("Snort is starting as a background taks using the rebuilt configuration...")); } else mwexec_bg("{$rcdir}snort.sh start"); -- cgit v1.2.3