summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-06-08 22:09:58 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-06-08 22:09:58 +0000
commit5f6561bc3408fa350a8403bee364186a5b946694 (patch)
tree1a724094a281bbf8b7c3e9e5d2edaabe863f3cb8
parentcb3ed9f2268c8dd48d6cb0b6b060d4adbf0754db (diff)
* luci/statistics: register statistics reload commit action
-rw-r--r--applications/luci-statistics/root/etc/uci-defaults/luci-statistics4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-statistics/root/etc/uci-defaults/luci-statistics b/applications/luci-statistics/root/etc/uci-defaults/luci-statistics
new file mode 100644
index 0000000000..6903ddfcb8
--- /dev/null
+++ b/applications/luci-statistics/root/etc/uci-defaults/luci-statistics
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+uci set luci.uci_oncommit.luci_statistics='/etc/init.d/luci_statistics restart'
+uci commit luci