summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-30 01:32:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-30 01:32:42 +0000
commite814de4fe19d4a7bd3d943700be05a05922d4d3e (patch)
treea51537033efa1df5e3dac4112a45c1073b665125 /usr
parent574a2b4762ed214c2a6461e6ae56114dc1594903 (diff)
downloadpfsense-e814de4fe19d4a7bd3d943700be05a05922d4d3e.zip
pfsense-e814de4fe19d4a7bd3d943700be05a05922d4d3e.tar.gz
Wait 5 seconds after stopping a service to give the kill process enough time to do its magic instead of marking the service as up when it really is not.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_services.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index 896e2ab..bc2d9f8 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -81,6 +81,7 @@ if($_GET['mode'] == "startservice" and $_GET['service']) {
if($_GET['mode'] == "stopservice" and $_GET['service']) {
stop_service($_GET['service']);
$savemsg = "{$_GET['service']} has been stopped.";
+ sleep(5);
}
/* batch mode, allow other scripts to call this script */
OpenPOWER on IntegriCloud