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