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
11 # symlink for busybox httpd
12 [ -x /usr/sbin/httpd ] && [ ! -h /www/rrdimg ] && \
13 ln -s /tmp/rrdimg /www/rrdimg
15 rm -f /tmp/luci-indexcache