Lower case sip
This commit is contained in:
parent
71a93bac16
commit
f72286ff2b
|
@ -176,9 +176,9 @@ function configure_firewall_for_sip4 {
|
|||
|
||||
function get_sip_server_password {
|
||||
if [ -f /home/$MY_USERNAME/README ]; then
|
||||
if grep -q "SIP server password" /home/$MY_USERNAME/README; then
|
||||
if grep -q "sip server password" /home/$MY_USERNAME/README; then
|
||||
if [ ! $SIP_SERVER_PASSWORD ]; then
|
||||
SIP_SERVER_PASSWORD=$(cat /home/$MY_USERNAME/README | grep "SIP server password" | awk -F ':' '{print $2}' | sed 's/^ *//')
|
||||
SIP_SERVER_PASSWORD=$(cat /home/$MY_USERNAME/README | grep "sip server password" | awk -F ':' '{print $2}' | sed 's/^ *//')
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -71,6 +71,7 @@ function upgrade_installation_from_previous_versions {
|
|||
sed -i 's|XMPP|xmpp|g' $COMPLETION_FILE
|
||||
sed -i 's|voip|mumble|g' $COMPLETION_FILE
|
||||
sed -i 's|VoIP|mumble|g' $COMPLETION_FILE
|
||||
sed -i 's|SIP|sip|g' $COMPLETION_FILE
|
||||
|
||||
if [ -f /usr/local/bin/zeronetavahi ]; then
|
||||
rm /usr/local/bin/zeronetavahi
|
||||
|
|
Loading…
Reference in New Issue