From e691cb9faf7181ee358ade5af2ac408cc01fb68d Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sat, 13 Aug 2016 09:53:14 +0200 Subject: [PATCH] Added aliases for several settings --- include/profiles | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/profiles b/include/profiles index c3dbb2eb..d029ca56 100644 --- a/include/profiles +++ b/include/profiles @@ -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 ;;