mirror of https://github.com/CISOfy/lynis.git
Add header as color
This commit is contained in:
parent
c1d351fe32
commit
65eaeb7ce9
|
@ -239,12 +239,6 @@ unset LANG
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
NORMAL="[0;39m"
|
||||
WARNING="[1;31m" # Bad (red)
|
||||
SECTION="[1;33m" # Section (yellow)
|
||||
NOTICE="[1;33m" # Notice (yellow)
|
||||
OK="[1;32m" # Ok (green)
|
||||
BAD="[1;31m" # Bad (red)
|
||||
|
||||
# Normal color names
|
||||
CYAN="[0;36m"
|
||||
|
@ -260,10 +254,21 @@ unset LANG
|
|||
YELLOW="[1;33m"
|
||||
WHITE="[1;37m"
|
||||
|
||||
# Markup
|
||||
BOLD="${WHITE}"
|
||||
|
||||
# With background
|
||||
BG_BLUE="[0;44m"
|
||||
|
||||
# Semantic names
|
||||
HEADER="${WHITE}"
|
||||
NORMAL="[0;39m"
|
||||
WARNING="[1;31m" # Bad (red)
|
||||
SECTION="[1;33m" # Section (yellow)
|
||||
NOTICE="[1;33m" # Notice (yellow)
|
||||
OK="[1;32m" # Ok (green)
|
||||
BAD="[1;31m" # Bad (red)
|
||||
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -1855,13 +1855,6 @@
|
|||
|
||||
RemoveColors() {
|
||||
COLORS=0 # disable most color selections
|
||||
NORMAL=""
|
||||
WARNING=""
|
||||
SECTION=""
|
||||
NOTICE=""
|
||||
OK=""
|
||||
BAD=""
|
||||
BOLD=""
|
||||
|
||||
# Normal color names
|
||||
CYAN=""
|
||||
|
@ -1878,7 +1871,17 @@
|
|||
WHITE=""
|
||||
|
||||
# Colors with background
|
||||
BG_BLUE=
|
||||
BG_BLUE=""
|
||||
|
||||
# Semantic names
|
||||
BAD=""
|
||||
BOLD=""
|
||||
HEADER=""
|
||||
NORMAL=""
|
||||
NOTICE=""
|
||||
OK=""
|
||||
WARNING=""
|
||||
SECTION=""
|
||||
}
|
||||
|
||||
################################################################################
|
||||
|
|
Loading…
Reference in New Issue