diff options
Diffstat (limited to 'applications/luci-statistics/root/etc/init.d')
-rwxr-xr-x | applications/luci-statistics/root/etc/init.d/luci_statistics | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-statistics/root/etc/init.d/luci_statistics b/applications/luci-statistics/root/etc/init.d/luci_statistics index 55999a8f7f..e4da1d5b1a 100755 --- a/applications/luci-statistics/root/etc/init.d/luci_statistics +++ b/applications/luci-statistics/root/etc/init.d/luci_statistics @@ -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() { |