Move SIP upgrade into app script
This commit is contained in:
parent
46d0f0a541
commit
9c3d627bf2
|
@ -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 {
|
||||
|
|
|
@ -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 '
|
||||
|
||||
|
|
Loading…
Reference in New Issue