mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 16:24:13 +02:00
parent
9208125c06
commit
94d31bba22
@ -574,7 +574,7 @@
|
||||
# Description : Checking for DHCP client
|
||||
Register --test-no NETW-3030 --weight L --network NO --category security --description "Checking DHCP client status"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
IsRunning dhclient
|
||||
IsRunning dhclient || IsRunning dhcpd
|
||||
if [ ${RUNNING} -eq 1 ]; then
|
||||
Display --indent 2 --text "- Checking status DHCP client" --result "${STATUS_RUNNING}" --color WHITE
|
||||
DHCP_CLIENT_RUNNING=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user