Update source-release.sh

This commit is contained in:
FusionPBX 2017-03-31 21:53:11 -06:00 committed by GitHub
parent 9d9a56c3ce
commit 0fb4278142
1 changed files with 1 additions and 4 deletions

View File

@ -49,12 +49,9 @@ 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 rc.d.freeswitch /usr/local/etc/rc.d/freeswitch
cp switch/rc.d.freeswitch /usr/local/etc/rc.d/freeswitch
chmod u-w,ugo+x /usr/local/etc/rc.d/freeswitch
#enable the service