mirror of https://github.com/CISOfy/lynis.git
Generic code enhancements
This commit is contained in:
parent
6b7362cefd
commit
bba133afbb
|
@ -62,8 +62,9 @@
|
|||
Register --test-no PRNT-2304 --weight L --network NO --description "Check cupsd status"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
logtext "Test: Checking cupsd status"
|
||||
FIND=`${PSBINARY} ax | grep "cupsd" | grep -v "grep" | grep -v apcupsd`
|
||||
if [ ! "${FIND}" = "" ]; then
|
||||
#FIND=`${PSBINARY} ax | grep "cupsd" | grep -v "grep" | grep -v apcupsd`
|
||||
IsRunning cupsd
|
||||
if [ ${RUNNING} -eq 1 ]; then
|
||||
Display --indent 2 --text "- Checking cups daemon" --result RUNNING --color GREEN
|
||||
logtext "Result: cups daemon running"
|
||||
CUPSD_RUNNING=1; PRINTING_DAEMON="cups"
|
||||
|
|
Loading…
Reference in New Issue