forked from norman/fusionpbx-install.sh-github-mirror
Update and rename source-conf-copy.sh to source-copy.sh
This commit is contained in:
12
freebsd/resources/switch/source-copy.sh
Executable file
12
freebsd/resources/switch/source-copy.sh
Executable 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
|
||||
Reference in New Issue
Block a user