mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 07:44:14 +02:00
Renamed BINPATHS to BIN_PATHS
This commit is contained in:
parent
02d735c4e1
commit
28d9a49a5f
@ -37,7 +37,7 @@
|
|||||||
BINARY_PATHS_FOUND=""; N=0
|
BINARY_PATHS_FOUND=""; N=0
|
||||||
Display --indent 2 --text "- Checking system binaries..."
|
Display --indent 2 --text "- Checking system binaries..."
|
||||||
logtext "Status: Starting binary scan..."
|
logtext "Status: Starting binary scan..."
|
||||||
for SCANDIR in ${BINPATHS}; do
|
for SCANDIR in ${BIN_PATHS}; do
|
||||||
logtext "Test: Check if directory exists"
|
logtext "Test: Check if directory exists"
|
||||||
ORGPATH=""
|
ORGPATH=""
|
||||||
if [ -d ${SCANDIR} ]; then
|
if [ -d ${SCANDIR} ]; then
|
||||||
|
@ -19,12 +19,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Paths where system and program binaries are located
|
# Paths where system and program binaries are located
|
||||||
BINPATHS="/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin \
|
BIN_PATHS="/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin \
|
||||||
/usr/local/libexec /usr/libexec /usr/sfw/bin /usr/sfw/sbin \
|
/usr/local/libexec /usr/libexec /usr/sfw/bin /usr/sfw/sbin \
|
||||||
/usr/sfw/libexec /opt/sfw/bin /opt/sfw/sbin /opt/sfw/libexec \
|
/usr/sfw/libexec /opt/sfw/bin /opt/sfw/sbin /opt/sfw/libexec \
|
||||||
/usr/xpg4/bin /usr/css/bin /usr/ucb /usr/X11R6/bin /usr/X11R7/bin \
|
/usr/xpg4/bin /usr/css/bin /usr/ucb /usr/X11R6/bin /usr/X11R7/bin \
|
||||||
/usr/pkg/bin /usr/pkg/sbin"
|
/usr/pkg/bin /usr/pkg/sbin"
|
||||||
|
|
||||||
|
ETC_PATHS="/etc /usr/local/etc"
|
||||||
|
|
||||||
# Do not use specific language, fall back to default
|
# Do not use specific language, fall back to default
|
||||||
# Some tools with translated strings are very hard to parse
|
# Some tools with translated strings are very hard to parse
|
||||||
unset LANG
|
unset LANG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user