From f7452a391914883dd7412a64ad2b6166f102937d Mon Sep 17 00:00:00 2001 From: Jim Pingle Date: Sun, 8 Mar 2009 16:49:04 -0400 Subject: Fix snort package, rc.d script was being written incorrectly when multiple interfaces were selected. --- config/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index c1c1a400..8b9d77f7 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -140,7 +140,7 @@ function sync_package_snort() /* Note the sleep delay. Seems to help getting mult interfaces to start -gtm */ foreach($snortInterfaces as $snortIf) { - $start .= ";sleep 8;snort -c /usr/local/etc/snort/snort.conf -l /var/log/snort -D -i {$snortIf} -A fast &"; + $start .= "\nsleep 8;snort -c /usr/local/etc/snort/snort.conf -l /var/log/snort -D -i {$snortIf} -A fast &"; } /* if block offenders is checked, start snort2c */ -- cgit v1.2.3