ddns-scripts: remove not needed prinst script
authorFlorian Eckert <redacted>
Wed, 16 Sep 2020 13:40:58 +0000 (15:40 +0200)
committerFlorian Eckert <redacted>
Mon, 21 Sep 2020 08:17:01 +0000 (10:17 +0200)
Signed-off-by: Florian Eckert <redacted>
net/ddns-scripts/Makefile

index c856a422b980af58ed29b45d158a4b6bb40bdb51..d432364e1296d3c3d644104441accecac60f6936 100755 (executable)
@@ -175,14 +175,6 @@ define Build/Compile
 endef
 
 
-###### *************************************************************************
-define Package/ddns-scripts/preinst
-       #!/bin/sh
-       # if NOT run buildroot then stop service
-       [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
-       exit 0  # suppress errors
-endef
-
 define Package/ddns-scripts/install
        $(INSTALL_DIR)  $(1)/etc/hotplug.d/iface
        $(INSTALL_BIN)  $(PKG_BUILD_DIR)/files/ddns.hotplug $(1)/etc/hotplug.d/iface/95-ddns
git clone https://git.99rst.org/PROJECT