diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-04-13 14:26:56 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-04-13 14:26:56 +0300 |
commit | 2d0c68493154e8dfee061f7a101a3a689a29097f (patch) | |
tree | 17ec1a2a4fa5c680f979c3b474a7eb902b76d57b /include/helper_show | |
parent | 6bc2aefbd4ef905e48c86f416b95eb919da3511e (diff) |
Added new 'generate' command
Diffstat (limited to 'include/helper_show')
-rw-r--r-- | include/helper_show | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/helper_show b/include/helper_show index 6e0738e6..a696b0e7 100644 --- a/include/helper_show +++ b/include/helper_show @@ -94,6 +94,17 @@ AUDIT_HELP=" " +GENERATE_ARGS="( --save )" +GENERATE_HELP=" + Generate random value for hostid and hostid2 + ${WHITE}lynis generate hostids${NORMAL} + + Generate and save values + ${WHITE}lynis generate hostids --save${NORMAL} + +" + + UPDATE_ARGS="check info" UPDATE_HELP=" ${CYAN}update info${NORMAL} @@ -274,6 +285,7 @@ if [ $# -gt 0 ]; then shift case $1 in "audit") ${ECHOCMD} "${AUDIT_HELP}" ;; + "generate") ${ECHOCMD} "${GENERATE_HELP}" ;; "show") ${ECHOCMD} "${SHOW_HELP}" ;; "update") ${ECHOCMD} "${UPDATE_HELP}" ;; "upload-only") ${ECHOCMD} "${UPLOAD_ONLY_HELP}" ;; |