mirror of https://github.com/CISOfy/lynis.git
Changes to release version 2.1.1
This commit is contained in:
parent
17c44ced52
commit
13c8de88a6
9
lynis
9
lynis
|
@ -23,7 +23,7 @@
|
||||||
# Program information
|
# Program information
|
||||||
PROGRAM_name="Lynis"
|
PROGRAM_name="Lynis"
|
||||||
PROGRAM_version="2.1.1"
|
PROGRAM_version="2.1.1"
|
||||||
PROGRAM_releasedate="27 May 2015"
|
PROGRAM_releasedate="22 July 2015"
|
||||||
PROGRAM_author="CISOfy"
|
PROGRAM_author="CISOfy"
|
||||||
PROGRAM_author_contact="lynis-dev@cisofy.com"
|
PROGRAM_author_contact="lynis-dev@cisofy.com"
|
||||||
PROGRAM_website="https://cisofy.com"
|
PROGRAM_website="https://cisofy.com"
|
||||||
|
@ -305,10 +305,10 @@
|
||||||
echo " ${YELLOW}Note: ${WHITE}Cancelling the program can leave temporary files behind${NORMAL}"
|
echo " ${YELLOW}Note: ${WHITE}Cancelling the program can leave temporary files behind${NORMAL}"
|
||||||
echo ""
|
echo ""
|
||||||
wait_for_keypress
|
wait_for_keypress
|
||||||
|
# Deleting temporary files
|
||||||
|
# Note: Display function does not work yet at this point
|
||||||
if [ -f lynis.pid ]; then rm -f lynis.pid; fi
|
if [ -f lynis.pid ]; then rm -f lynis.pid; fi
|
||||||
if [ -f /var/run/lynis.pid ]; then rm -f /var/run/lynis.pid; fi
|
if [ -f /var/run/lynis.pid ]; then rm -f /var/run/lynis.pid; fi
|
||||||
#YYY Display function not working yet from here, due to OS detection
|
|
||||||
#Display --indent 2 --text "- Deleting old PID file..." --result DONE --color GREEN
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create new PID file (use work directory if /var/run is not available)
|
# Create new PID file (use work directory if /var/run is not available)
|
||||||
|
@ -499,7 +499,6 @@
|
||||||
echo " Report file: ${REPORTFILE}"
|
echo " Report file: ${REPORTFILE}"
|
||||||
echo " Report version: ${REPORT_version}"
|
echo " Report version: ${REPORT_version}"
|
||||||
echo " Plugin directory: ${PLUGINDIR}"
|
echo " Plugin directory: ${PLUGINDIR}"
|
||||||
#echo " Database directory: ${DBDIR}"
|
|
||||||
echo " ---------------------------------------------------"
|
echo " ---------------------------------------------------"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -522,9 +521,7 @@
|
||||||
logtext "-----------------------------------------------------"
|
logtext "-----------------------------------------------------"
|
||||||
logtext "Include directory: ${INCLUDEDIR}"
|
logtext "Include directory: ${INCLUDEDIR}"
|
||||||
logtext "Plugin directory: ${PLUGINDIR}"
|
logtext "Plugin directory: ${PLUGINDIR}"
|
||||||
logtext "Database directory: ${DBDIR}"
|
|
||||||
logtextbreak
|
logtextbreak
|
||||||
#wait_for_keypress
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
Loading…
Reference in New Issue