mirror of https://github.com/CISOfy/lynis.git
Update release date, replacing old function names
This commit is contained in:
parent
c1bee3b39d
commit
534dc2e97d
20
lynis
20
lynis
|
@ -32,8 +32,8 @@
|
|||
PROGRAM_AUTHOR_CONTACT="lynis-dev@cisofy.com"
|
||||
|
||||
# Version details
|
||||
PROGRAM_RELEASE_DATE="2016-04-21"
|
||||
PROGRAM_RELEASE_TIMESTAMP=1461231978
|
||||
PROGRAM_RELEASE_DATE="2016-04-28"
|
||||
PROGRAM_RELEASE_TIMESTAMP=1461841101
|
||||
PROGRAM_RELEASETYPE="dev" # dev or final
|
||||
PROGRAM_VERSION="2.2.1"
|
||||
|
||||
|
@ -489,7 +489,7 @@ ${NORMAL}
|
|||
RemovePIDFile
|
||||
exit 1
|
||||
fi
|
||||
logtextbreak
|
||||
LogTextBreak
|
||||
LogText "### ${PROGRAM_COPYRIGHT} ###"
|
||||
|
||||
# Clear report file (to avoid appending to an existing file)
|
||||
|
@ -601,7 +601,7 @@ ${NORMAL}
|
|||
|
||||
Report "plugin_directory=${PLUGINDIR}"
|
||||
|
||||
logtextbreak
|
||||
LogTextBreak
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
@ -695,7 +695,7 @@ ${NORMAL}
|
|||
sleep 5
|
||||
fi
|
||||
|
||||
logtextbreak
|
||||
LogTextBreak
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
@ -704,7 +704,7 @@ ${NORMAL}
|
|||
SafePerms ${INCLUDEDIR}/binaries
|
||||
. ${INCLUDEDIR}/binaries
|
||||
fi
|
||||
logtextbreak
|
||||
LogTextBreak
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
@ -749,7 +749,7 @@ ${NORMAL}
|
|||
if [ $# -eq 0 ]; then echo "RunPlugins should be started with phase number"; ExitFatal; fi
|
||||
PLUGIN_PHASE=$1
|
||||
if [ ${PLUGIN_PHASE} -eq 0 -o ${PLUGIN_PHASE} -gt 2 ]; then echo "Incorrect phase number when calling RunPlugins"; ExitFatal; fi
|
||||
logtextbreak
|
||||
LogTextBreak
|
||||
InsertPluginSection "Plugins (phase ${PLUGIN_PHASE})"
|
||||
if [ ${PLUGIN_PHASE} -eq 1 ]; then
|
||||
Display --text "Note: plugins have more extensive tests, which may take a few minutes to complete"
|
||||
|
@ -792,7 +792,7 @@ ${NORMAL}
|
|||
if [ ${PLUGIN_PHASE} -eq 1 ]; then Progress " ["; fi
|
||||
. ${PLUGINFILE}
|
||||
if [ ${PLUGIN_PHASE} -eq 1 ]; then Progress "]"; Progress --finish; fi
|
||||
logtextbreak
|
||||
LogTextBreak
|
||||
LogText "Result: ${FIND2} plugin (phase ${PLUGIN_PHASE}) finished"
|
||||
else
|
||||
LogText "Plugin ${FIND2}: Skipped (bad file permissions, should be 640, 600 or 400)"
|
||||
|
@ -825,7 +825,7 @@ ${NORMAL}
|
|||
#################################################################################
|
||||
#
|
||||
# Get host ID
|
||||
logtextbreak
|
||||
LogTextBreak
|
||||
GetHostID
|
||||
# Check if result is not empty (no blank, or hash of blank value, or minus, or zeros)
|
||||
if [ ! "${HOSTID}" = "-" -a ! "${HOSTID}" = "" -a ! "${HOSTID}" = "adc83b19e793491b1c6ea0fd8b46cd9f32e592fc" -a ! "${HOSTID}" = "6ef1338f520d075957424741d7ed35ab5966ae97" ]; then
|
||||
|
@ -846,7 +846,7 @@ ${NORMAL}
|
|||
|
||||
if [ ${RUN_TESTS} -eq 1 ]; then
|
||||
|
||||
logtextbreak
|
||||
LogTextBreak
|
||||
# Test sections
|
||||
if [ "${TESTS_CATEGORY_TO_PERFORM}" = "" ]; then
|
||||
LogText "Info: perform tests from all categories"
|
||||
|
|
Loading…
Reference in New Issue