diff options
| author | Sebastian Kemper | 2019-04-21 13:11:42 +0000 |
|---|---|---|
| committer | Sebastian Kemper | 2019-04-21 13:12:39 +0000 |
| commit | 697966476913f7bdd1129942605e94695dcc845d (patch) | |
| tree | 521f82ba383eccaf7ad0c62f24cfcfae4e975a60 | |
| parent | 8fefafee3ccceb6b07de24596a29ede0a5c0de06 (diff) | |
| download | telephony-697966476913f7bdd1129942605e94695dcc845d.tar.gz | |
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 <sebastian_ml@gmx.net>
| -rw-r--r-- | net/restund/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
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 |