From f5e047c24f17cb65040ac9f91427aa82550e864a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 29 Sep 2006 21:50:57 +0000 Subject: Sleep for 5 seconds while we wait for snort to exit. --- packages/snort/snort_dynamic_ip_reload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/snort') 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"); } -- cgit v1.2.3