Update source-release.sh

This commit is contained in:
FusionPBX 2017-04-01 02:39:31 -06:00 committed by GitHub
parent dbc9c97d40
commit 7fdb16f65e
1 changed files with 1 additions and 4 deletions

View File

@ -51,12 +51,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
#set the original working directory
cd $cwd
#configure system service
ln -s /usr/local/freeswitch/bin/fs_cli /usr/bin/fs_cli
cp "$(dirname $0)/rc.d.freeswitch" /usr/local/etc/rc.d/freeswitch
cp "$(cwd)/rc.d.freeswitch" /usr/local/etc/rc.d/freeswitch
chmod u-w,ugo+x /usr/local/etc/rc.d/freeswitch
#enable the service