formations/content/modules_eole_envole/90-vnstat

17 lines
234 B
Plaintext
Raw Permalink Normal View History

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