* luci/statistics: register statistics reload commit action
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Jun 2008 22:09:58 +0000 (22:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Jun 2008 22:09:58 +0000 (22:09 +0000)
applications/luci-statistics/root/etc/uci-defaults/luci-statistics [new file with mode: 0644]

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 (file)
index 0000000..6903ddf
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+uci set luci.uci_oncommit.luci_statistics='/etc/init.d/luci_statistics restart'
+uci commit luci