summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-06 19:20:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-06 19:20:52 +0000
commitd1a87413ff4bfa801a0740ce2334fd19367b64e3 (patch)
tree33d53af78b3ee0f21f164f2577ad8e05bfc88632 /etc
parent7e77107f827942597621dc9a9b8dcb64723c1db6 (diff)
downloadpfsense-d1a87413ff4bfa801a0740ce2334fd19367b64e3.zip
pfsense-d1a87413ff4bfa801a0740ce2334fd19367b64e3.tar.gz
Comment cleanup
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/service-utils.inc13
1 files changed, 0 insertions, 13 deletions
diff --git a/etc/inc/service-utils.inc b/etc/inc/service-utils.inc
index bc7b02e..6a04358 100644
--- a/etc/inc/service-utils.inc
+++ b/etc/inc/service-utils.inc
@@ -122,19 +122,6 @@ function restart_service($name) {
}
}
-/*
-The current version of this function doesn't appear to work on my system.
-It returns 1 occasionally even when a nonsensical process is passed.
-
-The below function appears to fix this behavior:
-
-function is_process_running($process) {
- $status = `/bin/ps ax | /usr/bin/grep {$process} | grep -v grep | wc -l`;
- if($status > 0) return 1;
- return 0;
-}
-*/
-
function is_process_running($process) {
$status = `/bin/ps ax | /usr/bin/grep {$process} | wc -l`;
if($status > 2) return 1;
OpenPOWER on IntegriCloud