From: Sebastian Kemper Date: Sun, 21 Apr 2019 13:11:42 +0000 (+0200) Subject: restund: do not disable on upgrade X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=697966476913f7bdd1129942605e94695dcc845d;p=feed%2Ftelephony.git restund: 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/restund/Makefile b/net/restund/Makefile index fa53d2e..64cf420 100644 --- a/net/restund/Makefile +++ b/net/restund/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=restund PKG_VERSION:=0.4.12 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.creytiv.com/pub @@ -95,11 +95,6 @@ define Package/restund/postinst #!/bin/sh if [ -z "$${IPKG_INSTROOT}" ]; then chown $(PKG_NAME):$(PKG_NAME) /etc/restund.conf - - # 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_RESTUND="yes"/s/^/#/' \ - /etc/default/$(PKG_NAME) fi exit 0 endef