From 1728409a9c75d66976165cdaacce23b604d822a2 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 20 May 2019 16:53:10 -0600 Subject: [PATCH] user message preamble --- f2b-config.sh | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/f2b-config.sh b/f2b-config.sh index b99c8ea..c168a69 100644 --- a/f2b-config.sh +++ b/f2b-config.sh @@ -44,4 +44,26 @@ fi ### default values for variables -F2B-DIR='/etc/fail2ban' \ No newline at end of file +F2B-DIR='/etc/fail2ban' + + +### user info preamble +echo +echo -e "${note}------------------------------------------------------------" \ + "--------------------${normal}" +echo -e "${info}This script will copy customized configuration files to your" \ + "fail2ban" +echo -e "configuration directory. It will backup any existing files with the" \ + "extension" +echo -e "${note}'.original'${info}.${normal}" +echo +echo -e "${info}Please ensure you have reviewed the ${note}README${info} in" \ + "this git archive and/or it's" +echo -e "associated wiki or the blog post at${note}" \ + "https://mytechiethoughts.com${info} to understand" +echo -e "how to customize these template files.${normal}" +echo -e "${note}------------------------------------------------------------" \ + "--------------------${normal}" +echo + +