Update source-master.sh

This commit is contained in:
FusionPBX
2017-03-31 21:50:08 -06:00
committed by GitHub
parent b69cb73630
commit 9d9a56c3ce

View File

@@ -1,5 +1,11 @@
#!/bin/sh
#move to script directory so all relative paths work
cd "$(dirname "$0")"
#includes
. ./config.sh
#send a message
echo "Installing the FreeSWITCH source"
@@ -43,9 +49,6 @@ gmake uhd-sounds-install uhd-sounds-install
mkdir -p /usr/local/freeswitch/sounds/music/default
mv /usr/local/freeswitch/sounds/music/*000 /usr/local/freeswitch/sounds/music/default
#move to script directory so all relative paths work
cd "$(dirname "$0")"
#configure system service
ln -s /usr/local/freeswitch/bin/fs_cli /usr/bin/fs_cli
cp switch/rc.d.freeswitch /usr/local/etc/rc.d/freeswitch