aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-07-30 07:47:20 -0600
committermcrane <mctch@yahoo.com>2009-07-30 07:47:20 -0600
commitd0009c6fb74893e9fa4ab6863514a1ce195a04f7 (patch)
tree162d2094c80f4201ef9302c9f7c5b397e720dc9f /config/freeswitch
parentaaa73075bb747edf80c66808da8193d919908d13 (diff)
downloadpfsense-packages-d0009c6fb74893e9fa4ab6863514a1ce195a04f7.tar.gz
pfsense-packages-d0009c6fb74893e9fa4ab6863514a1ce195a04f7.tar.bz2
pfsense-packages-d0009c6fb74893e9fa4ab6863514a1ce195a04f7.zip
FreeSWITCH package disable pkg running for now.
Diffstat (limited to 'config/freeswitch')
-rw-r--r--config/freeswitch/freeswitch.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/config/freeswitch/freeswitch.inc b/config/freeswitch/freeswitch.inc
index a45ed9e9..e9704220 100644
--- a/config/freeswitch/freeswitch.inc
+++ b/config/freeswitch/freeswitch.inc
@@ -133,17 +133,17 @@ function guid()
function pkg_is_service_running($servicename)
{
- exec("/bin/ps ax | awk '{ print $5 }'", $psout);
- array_shift($psout);
- foreach($psout as $line) {
- $ps[] = trim(array_pop(explode(' ', array_pop(explode('/', $line)))));
- }
- if(pkg_is_service_running($servicename, $ps) or is_process_running($servicename) ) {
+ //exec("/bin/ps ax | awk '{ print $5 }'", $psout);
+ //array_shift($psout);
+ //foreach($psout as $line) {
+ // $ps[] = trim(array_pop(explode(' ', array_pop(explode('/', $line)))));
+ //}
+ //if(pkg_is_service_running($servicename, $ps) or is_process_running($servicename) ) {
return true;
- }
- else {
- return false;
- }
+ //}
+ //else {
+ // return false;
+ //}
}