summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Eckert2026-02-03 09:54:54 +0000
committerFlorian Eckert2026-02-09 13:29:09 +0000
commit34d0684be17f5385efe6ec315f6545a877b8b335 (patch)
tree96ca901ab5473ddf5a77807e4b7ee654a8369084
parente885bdab7b80e2aebf0a5fcce7fbb13c20215c02 (diff)
downloadpackages-34d0684be17f5385efe6ec315f6545a877b8b335.tar.gz
ddns-scripts: remove postinst and prerm script call
For reasons that have not been investigated in detail, the package blocks during 'postinst' with the new 'apk' backend when the package is installed on the target. After much back and forth, it turned out that the '/etc/init.d/ddns start' command is responsible for this. The call is blocking. The command '/etc/init.d/ddns enabled' in the 'postinst' also makes no sense here, as it only checks whether the ddns service is enabled. The return value is not checked at all. And the 'prerm' script is also not needed, as the calls made there are implicitly called during package deinstallation. Therefore, this commit removes the entire and not needed 'postinst' and 'prerm' script call. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rwxr-xr-xnet/ddns-scripts/Makefile20
1 files changed, 1 insertions, 19 deletions
diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile
index bcff0212f8..658659fb7a 100755
--- a/net/ddns-scripts/Makefile
+++ b/net/ddns-scripts/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.2
-PKG_RELEASE:=89
+PKG_RELEASE:=90
PKG_LICENSE:=GPL-2.0
@@ -427,24 +427,6 @@ define Package/ddns-scripts/install
$(1)/etc/uci-defaults/
endef
-define Package/ddns-scripts/postinst
-#!/bin/sh
-if [ -z "$${IPKG_INSTROOT}" ]; then
- /etc/init.d/ddns enabled
- /etc/init.d/ddns start
-fi
-exit 0
-endef
-
-define Package/ddns-scripts/prerm
-#!/bin/sh
-if [ -n "$${IPKG_INSTROOT}" ]; then
- /etc/init.d/ddns stop
- /etc/init.d/ddns disable
-fi
-exit 0
-endef
-
define Package/ddns-scripts-services/install
$(INSTALL_DIR) $(1)/usr/share/ddns/default