mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-26 15:36:23 +04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user