diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-26 02:59:51 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-26 02:59:51 +0000 |
commit | 1c4ec3454537fd3f29b571b4bdd44ea971f119d3 (patch) | |
tree | c105eac6f51b88d3a87c8b57f0d9fd2db9959dad /etc/inc | |
parent | 4b8fffef87a66587cf8ae19d0e6a942c977b0e53 (diff) | |
download | pfsense-1c4ec3454537fd3f29b571b4bdd44ea971f119d3.zip pfsense-1c4ec3454537fd3f29b571b4bdd44ea971f119d3.tar.gz |
Comment cleanups
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/service-utils.inc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/etc/inc/service-utils.inc b/etc/inc/service-utils.inc index 1d75d43..9f9a487 100644 --- a/etc/inc/service-utils.inc +++ b/etc/inc/service-utils.inc @@ -43,10 +43,10 @@ function write_rcfile($params) { if($params['stop']) { $tokill =& $params['stop']; } elseif($params['executable']) { - // just nuke the executable + /* just nuke the executable */ $tokill = "/usr/bin/killall {$params['executable']}"; } else { - // make an educated guess (bad) + /* make an educated guess (bad) */ $tokill = array_pop(explode('/', array_shift(explode(' ', $params['start'])))); } $towrite .= "rc_stop() {\n\t" . $tokill . "\n}\n\n"; @@ -124,12 +124,6 @@ function restart_service($name) { } function is_process_running($process) { - /* - DO NOT TOUCH THIS! I AM REALLY TIRED OF FIXING - SUCH A TRIVIAL FUNCTION. - - -GeekGod - 2005-06-25 - */ $status = `/bin/ps ax | /usr/bin/grep {$process} | wc -l`; if($status > 2) return 1; return 0; |