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:
parent
f45be8a154
commit
0eb7795080
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue