mirror of https://github.com/CISOfy/lynis.git
parent
106db35b1b
commit
bc88602e41
|
@ -41,7 +41,7 @@
|
|||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
# Check for installed inetd daemon
|
||||
LogText "Test: Checking if inetd is installed"
|
||||
if PackageIsInstalled "inetd"; then
|
||||
if PackageIsInstalled "inetd" || PackageIsInstalled "inetutils-inetd"; then
|
||||
INETD_PACKAGE_INSTALLED=1
|
||||
LogText "Result: inetd is installed"
|
||||
Display --indent 2 --text "- Installed inetd package" --result "${STATUS_FOUND}" --color YELLOW
|
||||
|
@ -61,7 +61,7 @@
|
|||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
# Check running processes
|
||||
LogText "Test: Searching for active inet daemon"
|
||||
if IsRunning "inetd"; then
|
||||
if IsRunning "inetd" || IsRunning "inetutils-inetd"; then
|
||||
LogText "Result: inetd is running"
|
||||
Display --indent 4 --text "- inetd status" --result "${STATUS_ACTIVE}" --color GREEN
|
||||
INETD_ACTIVE=1
|
||||
|
|
Loading…
Reference in New Issue