Browse Source

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

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

9
bin/0km

@ -1337,6 +1337,15 @@ cmdline.spec::cmd:vps-stats:run() {
echo ""
return 1
} >&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
exec {PFD}> >(exec gnuplot 2>/dev/null)

Loading…
Cancel
Save