17 lines
234 B
Bash
Executable File
17 lines
234 B
Bash
Executable File
#!/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
|