aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-05-04 19:05:51 +0300
committerErmal Luçi <eri@pfsense.org>2013-05-04 19:05:51 +0300
commit7a9c4f49b8fcb9b0d9eedd17046fc3b030c9bb96 (patch)
treee4216729ec810691ed67097f0265be8cb5b31f13 /config
parentb4e4fc959e5ae14f227be0abdf861094c8a6e4de (diff)
downloadpfsense-packages-7a9c4f49b8fcb9b0d9eedd17046fc3b030c9bb96.tar.gz
pfsense-packages-7a9c4f49b8fcb9b0d9eedd17046fc3b030c9bb96.tar.bz2
pfsense-packages-7a9c4f49b8fcb9b0d9eedd17046fc3b030c9bb96.zip
Do not start snort after install if this is bootup stage.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/snort/snort.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 8062834f..7ecc40e7 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -513,7 +513,8 @@ function snort_postinstall() {
log_error(gettext("[Snort] Finished rebuilding installation from saved settings..."));
update_status(gettext("Starting Snort using rebuilt configuration..."));
log_error(gettext("[Snort] Starting Snort using rebuilt configuration..."));
- start_service("snort");
+ if (!$g['booting'])
+ start_service("snort");
}
/* Done with post-install, so clear flag */