mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
ddns-scripts: cleanup prerm script
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -215,15 +215,12 @@ define Package/ddns-scripts/postinst
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ddns-scripts/prerm
|
define Package/ddns-scripts/prerm
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# if run within buildroot exit
|
if [ -n "$${IPKG_INSTROOT}" ]; then
|
||||||
[ -n "$${IPKG_INSTROOT}" ] && exit 0
|
|
||||||
# stop running scripts
|
|
||||||
/etc/init.d/ddns stop
|
/etc/init.d/ddns stop
|
||||||
/etc/init.d/ddns disable
|
/etc/init.d/ddns disable
|
||||||
# clear LuCI indexcache
|
fi
|
||||||
rm -f /tmp/luci-indexcache >/dev/null 2>&1
|
exit 0
|
||||||
exit 0 # suppress errors
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user