#!/bin/sh #make a backup of the conf directory #mv /usr/local/etc/freeswitch /usr/local/etc/freeswitch.orig #copy the default conf directory mkdir -p /usr/local/etc/freeswitch cp -R /usr/local/www/fusionpbx/app/switch/resources/conf/* /usr/local/etc/freeswitch #copy the scripts cp -R /usr/local/www/fusionpbx/app/scripts/resources/scripts /usr/local/share/freeswitch chown -R www:www /usr/local/share/freeswitch