Changed header and footer of screen output

This commit is contained in:
Michael Boelen 2016-07-26 16:00:36 +02:00
parent 2d2398714a
commit d23e4b0fa5
2 changed files with 8 additions and 7 deletions

View File

@ -240,7 +240,7 @@
echo "================================================================================"
fi
echo ""; echo ""
echo ""
fi
fi
@ -249,13 +249,14 @@
Report "hardening_index=${HPINDEX}"
if [ ${QUIET} -eq 0 ]; then
echo " ${PROGRAM_NAME} ${PROGRAM_VERSION}"
echo " Auditing, hardening and compliance for Linux, Mac OS and Unix systems"
echo " ${WHITE}${PROGRAM_NAME}${NORMAL} ${PROGRAM_VERSION}"
echo ""
echo " Auditing, system hardening, and compliance for UNIX-based systems"
echo " (Linux, macOS, BSD, and others)"
echo ""
echo " ${PROGRAM_COPYRIGHT}"
echo " ${WHITE}${PROGRAM_EXTRAINFO}${NORMAL}"
echo ""
echo ""
echo "================================================================================"
fi

6
lynis
View File

@ -40,11 +40,11 @@
# Source, documentation and license
PROGRAM_SOURCE="https://github.com/CISOfy/lynis"
PROGRAM_WEBSITE="https://cisofy.com/lynis/"
PROGRAM_COPYRIGHT="Copyright 2007-2016 - ${PROGRAM_AUTHOR}, ${PROGRAM_WEBSITE}"
PROGRAM_COPYRIGHT="2007-2016, ${PROGRAM_AUTHOR} - ${PROGRAM_WEBSITE}"
PROGRAM_LICENSE="${PROGRAM_NAME} comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under the terms of the GNU General Public License.
See the LICENSE file for details about using this software."
PROGRAM_EXTRAINFO="Enterprise support and plugins available via CISOfy"
PROGRAM_EXTRAINFO="Enterprise support available (compliance, plugins, interface and tools)"
# Version number of report files (when format changes in future)
REPORT_version_major="1"; REPORT_version_minor="0"
@ -258,7 +258,7 @@ Make sure to execute ${PROGRAM_NAME} from untarred directory or check your insta
#
if [ ${QUIET} -eq 0 ]; then
printf "\n${WHITE}[ ${PROGRAM_NAME} ${PROGRAM_VERSION} ]${NORMAL}\n\n################################################################################\n ${PROGRAM_LICENSE}\n ${PROGRAM_COPYRIGHT}\n ${PROGRAM_EXTRAINFO}\n################################################################################\n\n"
printf "\n${WHITE}[ ${PROGRAM_NAME} ${PROGRAM_VERSION} ]${NORMAL}\n\n################################################################################\n ${PROGRAM_LICENSE}\n\n ${PROGRAM_COPYRIGHT}\n ${PROGRAM_EXTRAINFO}\n################################################################################\n\n"
fi
if [ "${PROGRAM_RELEASE_TYPE}" = "beta" ]; then