summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-09 07:56:20 +0000
committerSteven Barth <steven@midlink.org>2008-06-09 07:56:20 +0000
commit64806f32bea453b9a6fc5c4cf4c4b751a749e369 (patch)
treefa8916e368bebfdbb07451928d8aa119214945fd /applications/luci-statistics
parent004213483340028437736f5810bd1c2274b7b72c (diff)
* Made Makefiles attribute aware
Diffstat (limited to 'applications/luci-statistics')
-rwxr-xr-xapplications/luci-statistics/ipkg/postinst4
-rwxr-xr-x[-rw-r--r--]applications/luci-statistics/root/etc/init.d/luci_statistics0
2 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
+}
diff --git a/applications/luci-statistics/root/etc/init.d/luci_statistics b/applications/luci-statistics/root/etc/init.d/luci_statistics
index 54faa411d..54faa411d 100644..100755
--- a/applications/luci-statistics/root/etc/init.d/luci_statistics
+++ b/applications/luci-statistics/root/etc/init.d/luci_statistics