diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-22 18:46:30 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-22 18:46:30 +0000 |
commit | 36e6b276d821235bb3dd65ba876db5c96fb1c5f7 (patch) | |
tree | a9283579135179e8ef2277921d03a0f1ad16d1ad | |
parent | aedc2278d790d3def9c8a3b9089d6a82becb2e88 (diff) | |
download | pfsense-36e6b276d821235bb3dd65ba876db5c96fb1c5f7.zip pfsense-36e6b276d821235bb3dd65ba876db5c96fb1c5f7.tar.gz |
Remove is_service_running().
-rw-r--r-- | etc/inc/pfsense-utils.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 4e2bd82..b7873f2 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -657,16 +657,6 @@ function reverse_strrchr($haystack, $needle) } /* - * is_service_running($service_name): checks to see if a service is running. - * if the service is running returns 1. - */ -function is_service_running($service_name) { - $status = `/bin/ps ax | /usr/bin/grep {$service_name} | wc -l`; - if($status > 2) return 1; - return 0; -} - -/* * backup_config_section($section): returns as an xml file string of * the configuration section */ |