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