Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-06-11 15:09:41 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-06-11 15:09:41 +0300
commitf851834dbd103a2ede45efad58f5316a02a6095e (patch)
treee393b4030194422a807092279a2dcd67249c9d43 /include
parent7ff4f3b1d36894720806cea0260007519e329871 (diff)
Added support for multiple languages
Diffstat (limited to 'include')
-rw-r--r--include/consts1
-rw-r--r--include/profiles5
2 files changed, 6 insertions, 0 deletions
diff --git a/include/consts b/include/consts
index 787688b2..590077a1 100644
--- a/include/consts
+++ b/include/consts
@@ -93,6 +93,7 @@ unset LANG
HOSTID=""
IDS_IPS_TOOL_FOUND=0
IPTABLESBINARY=""
+ LANGUAGE="en-US"
LINUX_VERSION=""
LINUXCONFIGFILE=""
LMDBINARY=""
diff --git a/include/profiles b/include/profiles
index fe44b060..693d3b1d 100644
--- a/include/profiles
+++ b/include/profiles
@@ -126,6 +126,11 @@
GROUP_NAME="${VALUE}"
;;
+ # Language
+ language | lang)
+ LANGUAGE="${VALUE}"
+ ;;
+
# Lynis Enterprise license key
license_key | license-key)
LICENSE_KEY="${VALUE}"