Browse Source

new: [0km] check for existence of ``rrdtool`` or hint for a way to install it

pull/4/head
Valentin Lab 11 months ago
parent
commit
ad539bea71
  1. 9
      bin/0km

9
bin/0km

@ -1337,6 +1337,15 @@ cmdline.spec::cmd:vps-stats:run() {
echo "" echo ""
return 1 return 1
} >&2 } >&2
( depends rrdtool ) || {
echo ""
echo " Rrdtool is required to display graphs..." \
"You might want to try to install ${WHITE}rrdtool${NORMAL} with:"
echo ""
echo " apt install rrdtool"
echo ""
return 1
} >&2
export GNUTERM=qt export GNUTERM=qt
exec {PFD}> >(exec gnuplot 2>/dev/null) exec {PFD}> >(exec gnuplot 2>/dev/null)

Loading…
Cancel
Save