2023-01-18 21:10:11 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
#move to script directory so all relative paths work
|
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
|
|
|
|
|
|
#includes
|
|
|
|
|
. ../config.sh
|
|
|
|
|
. ../environment.sh
|
|
|
|
|
|
|
|
|
|
# change the working directory
|
2024-01-02 19:58:30 +01:00
|
|
|
cd /usr/src/freeswitch-$switch_version
|
2023-01-18 21:10:11 +01:00
|
|
|
|
2023-01-18 21:08:07 +01:00
|
|
|
# compile and install the sounds
|
|
|
|
|
make sounds-install moh-install
|
|
|
|
|
make hd-sounds-install hd-moh-install
|
|
|
|
|
make cd-sounds-install cd-moh-install
|
|
|
|
|
|
|
|
|
|
#move the music into music/default directory
|
|
|
|
|
mkdir -p /usr/share/freeswitch/sounds/music/default
|
|
|
|
|
mv /usr/share/freeswitch/sounds/music/*000 /usr/share/freeswitch/sounds/music/default
|