exemple diagnose affichage de inactif si désactivé

This commit is contained in:
Emmanuel Garette 2020-08-07 11:14:23 +02:00
parent 69b53f235a
commit 70f77c883b
1 changed files with 6 additions and 2 deletions

View File

@ -1,11 +1,15 @@
#!/bin/bash #!/bin/bash
#set -e
. /usr/lib/eole/diagnose.sh
EchoGras "*** Service de statistique réseau"
if [ "$(CreoleGet activer_vnstat)" = "oui" ]; then if [ "$(CreoleGet activer_vnstat)" = "oui" ]; then
. /usr/lib/eole/diagnose.sh
EchoGras "*** Service de statistique réseau"
TestPid vnStat vnstatd TestPid vnStat vnstatd
echo echo
vnstat vnstat
else
Inactif vnStat
fi fi
echo echo