mirror of https://github.com/CISOfy/lynis.git
Add blue colors for tips
This commit is contained in:
parent
38e6ff18d4
commit
c090e73ca1
|
@ -253,12 +253,15 @@ unset LANG
|
|||
DARKGRAY="[0;30m"
|
||||
GRAY="[0;37m"
|
||||
GREEN="[1;32m"
|
||||
LIGHTBLUE="[0;94m"
|
||||
MAGENTA="[1;35m"
|
||||
PURPLE="[0;35m"
|
||||
RED="[1;31m"
|
||||
YELLOW="[1;33m"
|
||||
WHITE="[1;37m"
|
||||
|
||||
# With background
|
||||
BG_BLUE="[0;44m"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -553,7 +553,9 @@
|
|||
if [ ${CRONJOB} -eq 0 ]; then
|
||||
# Check if we already have already discovered a proper echo command tool. It not, set it default to 'echo'.
|
||||
if [ "${ECHOCMD}" = "" ]; then ECHOCMD="echo"; fi
|
||||
${ECHOCMD} "${WHITE}[${BLUE}TIP${NORMAL}${WHITE}]${NORMAL}: $1"
|
||||
printf "\n"
|
||||
${ECHOCMD} " ${BG_BLUE}[TIP]${NORMAL}: ${LIGHTBLUE}$1${NORMAL}"
|
||||
printf "\n"
|
||||
else
|
||||
echo "${TEXT}${RESULTPART}"
|
||||
fi
|
||||
|
|
|
@ -236,7 +236,7 @@
|
|||
# Don't use colors
|
||||
--no-colors | --nocolors)
|
||||
COLORS=0
|
||||
NORMAL=""; WARNING=""; SECTION=""; NOTICE=""; OK=""; BAD=""; BLUE=""; CYAN=""; MAGENTA=""; PURPLE=""; YELLOW=""; WHITE=""; GREEN=""; RED=""
|
||||
BG_BLUE=""; NORMAL=""; WARNING=""; SECTION=""; NOTICE=""; OK=""; BAD=""; BLUE=""; CYAN=""; LIGHTBLUE=""; MAGENTA=""; PURPLE=""; YELLOW=""; WHITE=""; GREEN=""; RED=""
|
||||
;;
|
||||
|
||||
# Disable logging
|
||||
|
|
Loading…
Reference in New Issue