Merge branch 'master' of git.unixpeople.org:hanez/home

This commit is contained in:
Johannes Findeisen 2020-03-23 00:43:07 +01:00
commit 8b91daa5b9

View file

@ -18,10 +18,13 @@ generate_index() {
<body style="background-color:#444">
<div style="text-align:center">
<div><img src="summary.png" alt="summary"></div>
<div><img src="hours.png" alt="hours"></div>
<div><img src="fiveminutes.png" alt="summary"></div>
<div><img src="hours.png" alt="hours"></div>
<div><img src="hoursgraph.png" alt="hours"></div>
<div><img src="days.png" alt="days"></div>
<div><img src="top.png" alt="days"></div>
<div><img src="months.png" alt="months"></div>
<div><img src="top10.png" alt="top10"></div>
<div><img src="years.png" alt="months"></div>
</div>
</body>
</html>
@ -33,7 +36,6 @@ generate_index() {
generate_index > "$output"/index.html
#fi
for type in hours days months top10 summary hsummary vsummary; do
for type in fiveminutes hours hoursgraph days top months years summary hsummary vsummary; do
vnstati --${type} -i $nic -o $output/${type}.png
done