Files
fusionpbx-install.sh/freebsd/resources/switch/package-copy.sh
Maksym Sobolyev a9d4a2df82 Use proper location for scripts (#325)
Locate scripts in a proper place. This should fix app.lua and
friends being missing.
2020-06-17 10:13:04 -06:00

13 lines
415 B
Bash
Executable File

#!/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/resources/templates/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