13 lines
403 B
Bash
Executable File
13 lines
403 B
Bash
Executable File
#!/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/app/switch/resources/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
|