Replacement of functions and adding newlines

This commit is contained in:
mboelen 2016-01-07 12:56:46 +01:00
parent 0d8569dedf
commit 4736ad87b9

View File

@ -74,8 +74,8 @@
esac esac
HPGRAPH="[${HPCOLOR}${HPBLOCKS}${NORMAL}${HPEMPTY}]" HPGRAPH="[${HPCOLOR}${HPBLOCKS}${NORMAL}${HPEMPTY}]"
logtext "Hardening index : [${HPINDEX}] [${HPBLOCKS}${HPEMPTY}]" LogText "Hardening index : [${HPINDEX}] [${HPBLOCKS}${HPEMPTY}]"
logtext "Hardening strength: ${HIDESCRIPTION}" LogText "Hardening strength: ${HIDESCRIPTION}"
# Only show overview if not running in quiet mode # Only show overview if not running in quiet mode
@ -236,16 +236,15 @@
fi fi
# Report data, even if it is not displayed on screen # Report data, even if it is not displayed on screen
report "hardening_index=${HPINDEX}" Report "hardening_index=${HPINDEX}"
if [ ${QUIET} -eq 0 ]; then if [ ${QUIET} -eq 0 ]; then
echo " ${PROGRAM_name} ${PROGRAM_version}" echo " ${PROGRAM_name} ${PROGRAM_version}"
echo " Auditing, hardening and compliance for Linux, Mac OS and Unix systems" echo " Auditing, hardening and compliance for Linux, Mac OS and Unix systems"
echo "" echo ""
echo " ${PROGRAM_copyright}" echo " ${PROGRAM_copyright}"
echo " ${WHITE}${PROGRAM_extrainfo}${NORMAL}" echo " ${WHITE}${PROGRAM_extrainfo}${NORMAL}"
echo ""
echo "================================================================================" echo "================================================================================"
fi fi