From: Florian Eckert Date: Tue, 3 Feb 2026 09:54:54 +0000 (+0100) Subject: ddns-scripts: remove postinst and prerm script call X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=34d0684be17f5385efe6ec315f6545a877b8b335;p=openwrt-packages.git 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 --- diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index bcff0212f..658659fb7 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