From: Sebastian Kemper Date: Sun, 21 Apr 2019 13:17:29 +0000 (+0200) Subject: baresip: do not disable on upgrade X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=0eb77950802bc38bbf92c773927508a39ff309bb;p=feed%2Ftelephony.git 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 --- diff --git a/net/baresip/Makefile b/net/baresip/Makefile index af2e4c8..68ce376 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -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