From 8bd53a89c02c9dd510b6dd82d840e43e72abf9da Mon Sep 17 00:00:00 2001 From: AlteredCoder <64792091+AlteredCoder@users.noreply.github.com> Date: Fri, 15 Jan 2021 18:14:33 +0100 Subject: [PATCH] add useful links in the wizard (#576) Co-authored-by: AlteredCoder --- wizard.sh | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/wizard.sh b/wizard.sh index 9234c3029..9e5952cf1 100755 --- a/wizard.sh +++ b/wizard.sh @@ -242,7 +242,7 @@ install_collection() { fi if [[ ${SILENT} == "false" ]]; then - whiptail --msgbox "CrowdSec alone will not block any IP address. If you want to block them, you must use a bouncer. You can find them on https://hub.crowdsec.net/" 20 50 + whiptail --msgbox "CrowdSec alone will not block any IP address. If you want to block them, you must use a bouncer. You can find them on https://hub.crowdsec.net/browse/#bouncers" 20 50 fi } @@ -460,6 +460,17 @@ uninstall_crowdsec() { log_info "crowdsec successfully uninstalled" } + +function show_link { + echo "" + echo "Useful links to start with Crowdsec:" + echo "" + echo " - Documentation : https://docs.crowdsec.net/" + echo " - Crowdsec Hub : https://hub.crowdsec.net/ " + echo " - Open issues : https://github.com/crowdsecurity/crowdsec/issues" + echo "" +} + main() { if [[ "$1" == "backup_to_dir" ]]; then @@ -519,6 +530,8 @@ main() { detect_cs_install log_info "installing crowdsec" install_crowdsec + + show_link return fi @@ -567,7 +580,7 @@ main() { systemctl enable crowdsec systemctl start crowdsec log_info "Enabling and starting crowdsec daemon" - + show_link return fi