baresip: do not disable on upgrade

It is not a nice user experience when a package changes configuration
files during an upgrade. Remove this from the postinstall routine.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2019-04-21 15:17:29 +02:00
parent f45be8a154
commit 0eb7795080
1 changed files with 0 additions and 5 deletions

View File

@ -146,11 +146,6 @@ if [ -z "$${IPKG_INSTROOT}" ]; then
/etc/baresip/accounts \
/etc/baresip/config \
/etc/baresip/contacts
# Prevent $(PKG_NAME) from auto-starting after an upgrade. The modules may
# not be upgraded yet and the user configuration may need a revision.
sed -i '/^ENABLE_BARESIP="yes"/s/^/#/' \
/etc/default/$(PKG_NAME)
fi
exit 0
endef