Remove sip entries from the readme

This commit is contained in:
Bob Mottram 2016-10-28 12:13:28 +01:00
parent b1c8747604
commit 8d3ae86b4f
1 changed files with 2 additions and 2 deletions

View File

@ -177,6 +177,7 @@ function remove_sip {
remove_completion_param install_sip
remove_completion_param configure_firewall_for_turn
remove_completion_param configure_firewall_for_sip4
sed -i '/SIP /d' /home/$MY_USERNAME/README
}
function configure_firewall_for_turn {
@ -320,8 +321,7 @@ function install_sip_main {
if ! grep -q $"SIP Server" /home/$MY_USERNAME/README; then
echo '' >> /home/$MY_USERNAME/README
echo '' >> /home/$MY_USERNAME/README
echo $'SIP Server' >> /home/$MY_USERNAME/README
echo '==========' >> /home/$MY_USERNAME/README
echo $'# SIP Server' >> /home/$MY_USERNAME/README
echo $"SIP onion_domain: $SIP_ONION_HOSTNAME" >> /home/$MY_USERNAME/README
echo $"SIP server username: $MY_USERNAME" >> /home/$MY_USERNAME/README
echo $"SIP server extension: 201" >> /home/$MY_USERNAME/README