* luci/app/statistics:
[project/luci.git] / applications / luci-statistics / root / etc / init.d / luci_statistics
index 55999a8f7fe64e446b643888bb631550e9f260ec..e4da1d5b1ace9aa1ff9cde377f00aac85333bf57 100755 (executable)
@@ -17,6 +17,9 @@ start() {
                imagepath="$(uci get luci_statistics.rrdtool.image_path)"
                ln -s ${imagepath:-/tmp/rrdimg}/ /www/rrdimg
        fi
+
+    ### flush LuCI index cache
+    test -f /var/luci-indexcache && rm /var/luci-indexcache
 }
 
 restart() {