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