projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* luci/app/statistics:
[project/luci.git]
/
applications
/
luci-statistics
/
root
/
etc
/
init.d
/
luci_statistics
diff --git
a/applications/luci-statistics/root/etc/init.d/luci_statistics
b/applications/luci-statistics/root/etc/init.d/luci_statistics
index 55999a8f7fe64e446b643888bb631550e9f260ec..e4da1d5b1ace9aa1ff9cde377f00aac85333bf57 100755
(executable)
--- 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() {