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:
authormboelen <michael@cisofy.com>2015-09-10 22:05:04 +0300
committermboelen <michael@cisofy.com>2015-09-10 22:05:04 +0300
commitfa98d9bba299dbbb262a4d3b7bbbbd0d79aeab72 (patch)
tree4877a89fd72b10a9bafac4a0487fe8f162e9b902 /include/tool_tips
parent81e0dfcb66152e8bbe35c7722cf4a61c12fb6748 (diff)
Import of tool tips section
Diffstat (limited to 'include/tool_tips')
-rw-r--r--include/tool_tips40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/tool_tips b/include/tool_tips
new file mode 100644
index 00000000..ee37fa94
--- /dev/null
+++ b/include/tool_tips
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+#################################################################################
+#
+# Lynis
+# ------------------
+#
+# Copyright 2007-2015, Michael Boelen, CISOfy (michael.boelen@cisofy.com)
+# Web site: https://cisofy.com
+#
+# Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
+# welcome to redistribute it under the terms of the GNU General Public License.
+# See LICENSE file for usage of this software.
+#
+#################################################################################
+#
+# Hints and Tips
+#
+#################################################################################
+#
+
+ # Only show tips when enabled
+ if [ ${SHOW_TOOL_TIPS} -eq 1 ]; then
+
+ # Bash completion support
+ if [ ! "${ETC_PATHS}" = "" ]; then
+ for I in ${ETC_PATHS}; do
+ if [ -d ${I}/bash-completion.d ]; then
+ if [ ! -f ${ETC_PATHS}/bash_completion.d/lynis ]; then
+ Display "This system has a bash_completition directory. Copy extras/bash_completion.d/lynis to ${I} to get completion support for Lynis"
+ fi
+ fi
+ done
+ fi
+ fi
+
+
+#
+#================================================================================
+# Lynis - Copyright 2007-2015, Michael Boelen, CISOfy - https://cisofy.com