add useful links in the wizard (#576)
Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
parent
82ec6b3d80
commit
8bd53a89c0
1 changed files with 15 additions and 2 deletions
17
wizard.sh
17
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue