aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-07-30 01:01:52 -0600
committermcrane <mctch@yahoo.com>2009-07-30 01:01:52 -0600
commit740c40a8099dde3394e3680c267a29f90a0a4d2c (patch)
tree9719b245a15487405cce6403ec6f4af1298914a1 /config/freeswitch_dev
parent56897698e71e5edabb238e0f637eb01c62df026b (diff)
downloadpfsense-packages-740c40a8099dde3394e3680c267a29f90a0a4d2c.tar.gz
pfsense-packages-740c40a8099dde3394e3680c267a29f90a0a4d2c.tar.bz2
pfsense-packages-740c40a8099dde3394e3680c267a29f90a0a4d2c.zip
FreeSWITCH dev package fix syntax errors.
Diffstat (limited to 'config/freeswitch_dev')
-rw-r--r--config/freeswitch_dev/v_config.inc28
1 files changed, 14 insertions, 14 deletions
diff --git a/config/freeswitch_dev/v_config.inc b/config/freeswitch_dev/v_config.inc
index b82c0dd6..bdd33fab 100644
--- a/config/freeswitch_dev/v_config.inc
+++ b/config/freeswitch_dev/v_config.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(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;
+ //}
}
@@ -3051,7 +3051,7 @@ function v_php_install_command()
//install the packages
exec("pkg_add -f wget-1.11.4.tbz");
- exec("pkg_add -f bash-4.0.24.tbz;);
+ exec("pkg_add -f bash-4.0.24.tbz;");
exec("pkg_add -f libgcrypt-1.4.4.tbz");
exec("pkg_add -f libgpg-error-1.7.tbz");
exec("pkg_add -f libiconv-1.13.1.tbz");
@@ -3802,7 +3802,7 @@ function v_deinstall_command()
exec("killall -9 freeswitch");
exec("pkg_delete -f wget-1.11.4.tbz;");
- exec("pkg_delete -f bash-4.0.24.tbz;;);
+ exec("pkg_delete -f bash-4.0.24.tbz;");
exec("pkg_delete -f libgcrypt-1.4.4.tbz;");
exec("pkg_delete -f libgpg-error-1.7.tbz;");
exec("pkg_delete -f libiconv-1.13.1.tbz;");
@@ -3815,8 +3815,8 @@ function v_deinstall_command()
exec("pkg_delete -f pkg-config-0.23_1.tbz;");
exec("pkg_delete -f ca_root_nss-3.11.9_2.tbz;");
exec("pkg_delete -f gettext-0.17_1.tbz;");
- exec("pkg_delete -f zaptel-1.4.11_1.tbz;;
- exec("pkg_delete -f gnutls-2.6.5.tbz;;
+ exec("pkg_delete -f zaptel-1.4.11_1.tbz;");
+ exec("pkg_delete -f gnutls-2.6.5.tbz;");
exec("pkg_delete -f ncurses-5.7.tbz;");
exec("pkg_delete -f unixODBC-2.2.14_1.tbz;");
exec("pkg_delete -f libvorbis-1.2.3,3.tbz;");