add useful links in the wizard (#576)

Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
AlteredCoder 2021-01-15 18:14:33 +01:00 committed by GitHub
parent 82ec6b3d80
commit 8bd53a89c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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