Correction du script de diagnose.
Il faut utiliser service et pas /etc/init.d
This commit is contained in:
parent
1a911bd9fc
commit
75faa9e9d7
@ -18,7 +18,7 @@ one()
|
||||
|
||||
TestServiceStatus() {
|
||||
printf ". %${len_pf}s => " "$1"
|
||||
/etc/init.d/$2 status >/dev/null 2>&1
|
||||
service $2 status >/dev/null 2>&1
|
||||
if [ $? -eq 0 ] ; then
|
||||
eOK
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user