exemple diagnose affichage de inactif si désactivé
This commit is contained in:
parent
69b53f235a
commit
70f77c883b
@ -1,11 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
#set -e
|
||||
. /usr/lib/eole/diagnose.sh
|
||||
EchoGras "*** Service de statistique réseau"
|
||||
|
||||
if [ "$(CreoleGet activer_vnstat)" = "oui" ]; then
|
||||
. /usr/lib/eole/diagnose.sh
|
||||
EchoGras "*** Service de statistique réseau"
|
||||
TestPid vnStat vnstatd
|
||||
echo
|
||||
vnstat
|
||||
else
|
||||
Inactif vnStat
|
||||
fi
|
||||
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user