diff options
Diffstat (limited to 'applications/luci-statistics')
-rw-r--r-- | applications/luci-statistics/root/etc/uci-defaults/luci-statistics | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/applications/luci-statistics/root/etc/uci-defaults/luci-statistics b/applications/luci-statistics/root/etc/uci-defaults/luci-statistics index 6903ddfcb..f89366f1b 100644 --- a/applications/luci-statistics/root/etc/uci-defaults/luci-statistics +++ b/applications/luci-statistics/root/etc/uci-defaults/luci-statistics @@ -1,4 +1,7 @@ #!/bin/sh -uci set luci.uci_oncommit.luci_statistics='/etc/init.d/luci_statistics restart' -uci commit luci +uci batch <<-EOF + add ucitrack luci_statistics + set ucitrack.@luci_statistics[-1].init=luci_statistics + commit ucitrack +EOF |