DHCP-Server test erstellt
This commit is contained in:
parent
2bbba5e722
commit
64a5ce646b
@ -79,6 +79,17 @@ else
|
|||||||
echo "OK"
|
echo "OK"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
########################################################
|
||||||
|
# Daemons test
|
||||||
|
|
||||||
|
if systemctl is-failed isc-dhcp-server.service
|
||||||
|
then
|
||||||
|
echo "dhcp-Server läuft nicht"
|
||||||
|
fehler=1
|
||||||
|
fehlermeldung="$fehlermeldung\nisc-dhcp-server: not active"
|
||||||
|
else
|
||||||
|
echo "OK"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$fehler" = "1" ]
|
if [ "$fehler" = "1" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user