Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelak <ice@extreme.hu>2018-01-21 14:29:49 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-01-21 14:29:49 +0300
commit0b2cd02f0d4b7fc358f17c8bf27826ea8906cce7 (patch)
tree6544ac0593a8922327a5e1481849a6e934ebdc19 /include/tests_networking
parente0e76c97dfc0850fd709faa8c0c7e763c37f297d (diff)
Fix/amend DHCP client detection (#513)
- dhcpd is a server; the client is dhcpcd - While here, add udhcpc to the list of recognised DHCP clients
Diffstat (limited to 'include/tests_networking')
-rw-r--r--include/tests_networking2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking
index 7ec661e3..ecb773f2 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -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 dhcpd
+ IsRunning dhclient || IsRunning dhcpcd || IsRunning udhcpc
if [ ${RUNNING} -eq 1 ]; then
Display --indent 2 --text "- Checking status DHCP client" --result "${STATUS_RUNNING}" --color WHITE
DHCP_CLIENT_RUNNING=1