|
@@ -103,6 +103,7 @@ if [ .$nginx_enabled = .'true' ]; then
|
|
|
|
|
|
#reset the current working directory
|
|
#reset the current working directory
|
|
cd $cwd
|
|
cd $cwd
|
|
|
|
+
|
|
fi
|
|
fi
|
|
|
|
|
|
if [ .$switch_enabled = .'true' ]; then
|
|
if [ .$switch_enabled = .'true' ]; then
|
|
@@ -126,13 +127,14 @@ if [ .$switch_enabled = .'true' ]; then
|
|
sed -i' ' -e s:"{v_user}:$xml_cdr_username:" $conf_dir/autoload_configs/xml_cdr.conf.xml
|
|
sed -i' ' -e s:"{v_user}:$xml_cdr_username:" $conf_dir/autoload_configs/xml_cdr.conf.xml
|
|
sed -i' ' -e s:"{v_pass}:$xml_cdr_password:" $conf_dir/autoload_configs/xml_cdr.conf.xml
|
|
sed -i' ' -e s:"{v_pass}:$xml_cdr_password:" $conf_dir/autoload_configs/xml_cdr.conf.xml
|
|
|
|
|
|
- #stop freeswitch
|
|
|
|
- #service freeswitch restart
|
|
|
|
|
|
+ #restart freeswitch
|
|
|
|
+ service freeswitch restart
|
|
|
|
|
|
#install monit.sh
|
|
#install monit.sh
|
|
if [ .$monit_enabled = .'true' ]; then
|
|
if [ .$monit_enabled = .'true' ]; then
|
|
. ./monit.sh
|
|
. ./monit.sh
|
|
fi
|
|
fi
|
|
|
|
+
|
|
fi
|
|
fi
|
|
|
|
|
|
#welcome message
|
|
#welcome message
|