aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2015-07-03 14:29:43 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2015-07-03 14:29:43 -0400
commit89fb04559a6e9bf1f5806bdbf3a351fe725485e9 (patch)
tree462af996b5d2924df1b59faa59912341471f4327 /config/snort
parent29e3014f516da8888a762e0a253467675113208f (diff)
downloadpfsense-packages-89fb04559a6e9bf1f5806bdbf3a351fe725485e9.tar.gz
pfsense-packages-89fb04559a6e9bf1f5806bdbf3a351fe725485e9.tar.bz2
pfsense-packages-89fb04559a6e9bf1f5806bdbf3a351fe725485e9.zip
Start Snort in the background on a package re-install.
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort_post_install.php5
1 files 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");