Update and rename source-conf-copy.sh to source-copy.sh

This commit is contained in:
FusionPBX 2017-04-25 02:46:00 -06:00 committed by GitHub
parent 955d0eb807
commit f775c02c56
2 changed files with 12 additions and 6 deletions

View File

@ -1,6 +0,0 @@
#!/bin/sh
mv /usr/local/freeswitch/conf /usr/local/freeswitch/conf.orig
#mkdir -p /etc/freeswitch
mkdir -p /usr/local/freeswitch/conf
cp -R /usr/local/www/fusionpbx/resources/templates/conf/* /usr/local/freeswitch/conf

View File

@ -0,0 +1,12 @@
#!/bin/sh
#make a backup of the conf directory
mv /usr/local/freeswitch/conf /usr/local/freeswitch/conf.orig
#copy the default conf directory
mkdir -p /usr/local/freeswitch/conf
cp -R /usr/local/www/fusionpbx/resources/templates/conf/* /usr/local/freeswitch/conf
#copy the scripts
cp -R /usr/local/www/fusionpbx/resources/install/scripts /usr/local/freeswitch
chown -R www:www /usr/local/freeswitch