forked from norman/fusionpbx-install.sh-github-mirror
Update source-master.sh
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
#move to script directory so all relative paths work
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
#includes
|
||||||
|
. ./config.sh
|
||||||
|
|
||||||
#send a message
|
#send a message
|
||||||
echo "Installing the FreeSWITCH source"
|
echo "Installing the FreeSWITCH source"
|
||||||
|
|
||||||
@@ -43,9 +49,6 @@ gmake uhd-sounds-install uhd-sounds-install
|
|||||||
mkdir -p /usr/local/freeswitch/sounds/music/default
|
mkdir -p /usr/local/freeswitch/sounds/music/default
|
||||||
mv /usr/local/freeswitch/sounds/music/*000 /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
|
#configure system service
|
||||||
ln -s /usr/local/freeswitch/bin/fs_cli /usr/bin/fs_cli
|
ln -s /usr/local/freeswitch/bin/fs_cli /usr/bin/fs_cli
|
||||||
cp switch/rc.d.freeswitch /usr/local/etc/rc.d/freeswitch
|
cp switch/rc.d.freeswitch /usr/local/etc/rc.d/freeswitch
|
||||||
|
|||||||
Reference in New Issue
Block a user