aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/rspamadm/configwizard.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-10 15:57:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-10 15:57:01 +0000
commit0b0f4af5527dc590c2b0c1930d16bf1f60e11805 (patch)
tree6174339c9e946cd7bc652c008a4cd4b21d061d37 /lualib/rspamadm/configwizard.lua
parent526f5af316b69d5101a56a3ca29eba48f5b10cb0 (diff)
downloadrspamd-0b0f4af5527dc590c2b0c1930d16bf1f60e11805.tar.gz
rspamd-0b0f4af5527dc590c2b0c1930d16bf1f60e11805.zip
[Minor] Beautify logo
Diffstat (limited to 'lualib/rspamadm/configwizard.lua')
-rw-r--r--lualib/rspamadm/configwizard.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/lualib/rspamadm/configwizard.lua b/lualib/rspamadm/configwizard.lua
index e34c6eb5b..4b144b441 100644
--- a/lualib/rspamadm/configwizard.lua
+++ b/lualib/rspamadm/configwizard.lua
@@ -23,6 +23,15 @@ local ucl = require "ucl"
local plugins_stat = require "rspamadm/plugins_stats"
+local rspamd_logo = [[
+ ____ _
+ | _ \ ___ _ __ __ _ _ __ ___ __| |
+ | |_) |/ __|| '_ \ / _` || '_ ` _ \ / _` |
+ | _ < \__ \| |_) || (_| || | | | | || (_| |
+ |_| \_\|___/| .__/ \__,_||_| |_| |_| \__,_|
+ |_|
+]]
+
local function printf(fmt, ...)
print(string.format(fmt, ...))
end
@@ -277,7 +286,8 @@ return function(args, cfg)
}
rspamd_util.umask('022')
- printf("Welcome to %s configuration tool", highlight("Rspamd"))
+ printf(highlight(rspamd_logo))
+ printf("Welcome to the configuration tool")
printf("We use %s configuration file, writing results to %s",
highlight(cfg.config_path), highlight(local_conf))
plugins_stat(nil, nil)