formations/content/modules_eole_envole/ressources/vnstat/90-vnstat

17 lines
234 B
Plaintext
Raw Permalink Normal View History

2020-09-07 16:43:21 +02:00
#!/bin/bash
#set -e
. /usr/lib/eole/diagnose.sh
EchoGras "*** Service de statistique réseau"
if [ "$(CreoleGet activer_vnstat)" = "oui" ]; then
TestPid vnStat vnstatd
echo
vnstat
else
Inactif vnStat
fi
echo
exit 0