Added aliases for several settings

This commit is contained in:
Michael Boelen 2016-08-13 09:53:14 +02:00
parent b90ce88b36
commit e691cb9faf
1 changed files with 4 additions and 4 deletions

View File

@ -105,7 +105,7 @@
;;
# Do not check security repository in sources.list (Debian/Ubuntu)
debian_skip_security_repository)
debian-skip-security-repository | debian_skip_security_repository)
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && OPTION_DEBIAN_SKIP_SECURITY_REPOSITORY=1
AddSetting "debian-skip-security-repository" "OPTION_DEBIAN_SKIP_SECURITY_REPOSITORY" "Skip checking for a security repository (Debian and others)"
;;
@ -132,7 +132,7 @@
;;
# Skip FreeBSD port audit
freebsd_skip_portaudit)
freebsd-skip-portaudit | freebsd_skip_portaudit)
LogText "Option set: Skip FreeBSD portaudit"
OPTION_FREEBSD_SKIP_PORTAUDIT="${VALUE}"
;;
@ -151,7 +151,7 @@
;;
# Lynis Enterprise license key
license_key | license-key)
license-key | license_key)
if [ ! "${VALUE}" = "" ]; then
LICENSE_KEY="${VALUE}"
Report "license_key=${VALUE}"
@ -160,7 +160,7 @@
;;
# Do (not) log tests if they have an different operating system
log_tests_incorrect_os)
log-tests-incorrect-os | log_tests_incorrect_os)
LogText "Option set: No logging for incorrect OS"
if [ "${VALUE}" = "no" ]; then LOG_INCORRECT_OS=0; else LOG_INCORRECT_OS=1; fi
;;