aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-29 21:50:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-29 21:50:57 +0000
commitf5e047c24f17cb65040ac9f91427aa82550e864a (patch)
treeba737d87b7d5a84d90bba88300345eaac17d921e /packages/snort
parenta24dc83e0251ad950c9a1dfc196ddcbd06672f22 (diff)
downloadpfsense-packages-f5e047c24f17cb65040ac9f91427aa82550e864a.tar.gz
pfsense-packages-f5e047c24f17cb65040ac9f91427aa82550e864a.tar.bz2
pfsense-packages-f5e047c24f17cb65040ac9f91427aa82550e864a.zip
Sleep for 5 seconds while we wait for snort to exit.
Diffstat (limited to 'packages/snort')
-rw-r--r--packages/snort/snort_dynamic_ip_reload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php
index 00e96d2e..70adf121 100644
--- a/packages/snort/snort_dynamic_ip_reload.php
+++ b/packages/snort/snort_dynamic_ip_reload.php
@@ -6,7 +6,7 @@ if($config['interfaces']['wan']['ipaddr'] == "pppoe" or
log_error("Snort has detected an IP address change. Reloading.");
stop_service("snort");
create_snort_conf();
- sleep(3);
+ sleep(5);
start_service("snort");
}