diff --git a/src/freedombone-app-sip b/src/freedombone-app-sip index 3ccff89e..cc2b61c9 100755 --- a/src/freedombone-app-sip +++ b/src/freedombone-app-sip @@ -38,7 +38,10 @@ VOIP_TURN_TLS_PORT=5349 VOIP_TURN_NONCE= function upgrade_sip { - echo -n '' + # remove the original sipwitch daemon if it exists + if [ -f /etc/init.d/sipwitch ]; then + rm -f /etc/init.d/sipwitch + fi } function backup_local_sip { diff --git a/src/freedombone-upgrade b/src/freedombone-upgrade index b1bd7e3e..a37069d2 100755 --- a/src/freedombone-upgrade +++ b/src/freedombone-upgrade @@ -109,11 +109,6 @@ if [ -d $PROJECT_DIR ]; then fi fi -# remove the original sipwitch daemon if it exists -if [ -f /etc/init.d/sipwitch ]; then - rm -f /etc/init.d/sipwitch -fi - if [ -f /usr/bin/reset-tripwire ]; then echo '