summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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