summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-freifunk-diagnostics/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-freifunk-diagnostics/ipkg/postinst')
-rw-r--r--applications/luci-app-freifunk-diagnostics/ipkg/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-freifunk-diagnostics/ipkg/postinst b/applications/luci-app-freifunk-diagnostics/ipkg/postinst
new file mode 100644
index 000000000..cc814c365
--- /dev/null
+++ b/applications/luci-app-freifunk-diagnostics/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-freifunk-diagnostics ) && rm -f /etc/uci-defaults/luci-freifunk-diagnostics
+}