diff options
author | mcrane <mctch@yahoo.com> | 2009-08-09 02:12:29 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-08-09 02:13:29 -0600 |
commit | 44f44e817107347cb73bc74a92c60e1a6fc63014 (patch) | |
tree | ee0e5e45769516e5e679e192880d8bd551df0817 /config/freeswitch_dev/v_status.tmp | |
parent | d7d26e97b3928fb7e98cbf44dcbf4ef3523dbd19 (diff) | |
download | pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.tar.gz pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.tar.bz2 pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.zip |
FreeSWITCH dev package replace the rest of the hard coded paths, update wording, fix labels on a few pages, fix wav and mp3 download and play tools.
Diffstat (limited to 'config/freeswitch_dev/v_status.tmp')
-rw-r--r-- | config/freeswitch_dev/v_status.tmp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/freeswitch_dev/v_status.tmp b/config/freeswitch_dev/v_status.tmp index a778cb8a..c16cae7a 100644 --- a/config/freeswitch_dev/v_status.tmp +++ b/config/freeswitch_dev/v_status.tmp @@ -46,7 +46,8 @@ if ($_GET['a'] == "download") { if (!is_dir($v_backup_dir.'/')) { exec("mkdir ".$v_backup_dir."/"); } - system('cd /usr/local/;tar cvzf '.$v_backup_dir.'/'.$v_name.'.bak.tgz '.$v_name); + chdir($v_parent_dir); + system(tar cvzf '.$v_backup_dir.'/'.$v_name.'.bak.tgz '.$v_name); } session_cache_limiter('public'); $fd = fopen($tmp.$filename, "rb"); @@ -105,7 +106,7 @@ $savemsg = $_GET["savemsg"]; //if service is not running then start it if (!pkg_is_service_running($v_name)) { - $handle = popen("/usr/local/etc/rc.d/".$v_name.".sh start", "r"); + $handle = popen($v_startup_script_dir."/".$v_name.".sh start", "r"); pclose($handle); //give time for the service to load sleep(7); |