ddns-scripts: remove not needed prinst script

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2020-09-16 15:40:58 +02:00
parent 41e0f3b6c0
commit 4f6614c41d
1 changed files with 0 additions and 8 deletions

View File

@ -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