statistics: remove references to Lucid from scripts
[project/luci.git] / applications / luci-app-statistics / root / etc / uci-defaults / luci-statistics
1 #!/bin/sh
2
3 # register commit handler
4 uci -q batch <<-EOF >/dev/null
5         delete ucitrack.@luci_statistics[-1]
6         add ucitrack luci_statistics
7         set ucitrack.@luci_statistics[-1].init=luci_statistics
8         commit ucitrack
9 EOF
10
11 # symlink for busybox httpd
12 [ -x /usr/sbin/httpd ] && [ ! -h /www/rrdimg ] && \
13         ln -s /tmp/rrdimg /www/rrdimg
14
15 rm -f /tmp/luci-indexcache
16 exit 0