add crypto-LTC

update lxc (moved to run.sh)
This commit is contained in:
root
2020-04-29 09:22:14 +02:00
parent 40a64c37b2
commit 257841947a
29 changed files with 39 additions and 43 deletions

View File

@ -4,7 +4,7 @@ RRDDIR="/var/www/localhost/rrd"
RRDPREFIX="crypto-"
TMPLDIR="/var/www/localhost/tmpl"
for c in BTC ETH XRP EOS XTZ XLM;
for c in BTC ETH XRP EOS XTZ XLM LTC;
do
if [[ ! -f "${RRDDIR}/${RRDPREFIX}${c}.rrd" ]];
then
@ -37,7 +37,6 @@ GPRINT:sell:MAX:%6.4lf %sEUR
GPRINT:sell:AVERAGE:%6.4lf %sEUR
GPRINT:sell:MIN:%6.4lf %sEUR
GPRINT:sell:LAST:%6.4lf %sEUR\n
LINE1:0#000000
EOF
fi
done

View File

@ -40,7 +40,6 @@ LINE1:TX#2EA349:Tx
GPRINT:TX:MAX:%6.2lf %sbps
GPRINT:TX:AVERAGE:%6.2lf %sbps
GPRINT:TX:MIN:%6.2lf %sbps
GPRINT:TX:LAST:%6.2lf %sbps\n
LINE1:0#000000" > "$DIR/lxc-$c.net.tmpl"
GPRINT:TX:LAST:%6.2lf %sbps\n" > "$DIR/lxc-$c.net.tmpl"
done