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