mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 20:36:12 +02:00
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
|
fi
|
||||||
|
|
||||||
if [[ ${SILENT} == "false" ]]; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -460,6 +460,17 @@ uninstall_crowdsec() {
|
||||||
log_info "crowdsec successfully uninstalled"
|
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() {
|
main() {
|
||||||
if [[ "$1" == "backup_to_dir" ]];
|
if [[ "$1" == "backup_to_dir" ]];
|
||||||
then
|
then
|
||||||
|
@ -519,6 +530,8 @@ main() {
|
||||||
detect_cs_install
|
detect_cs_install
|
||||||
log_info "installing crowdsec"
|
log_info "installing crowdsec"
|
||||||
install_crowdsec
|
install_crowdsec
|
||||||
|
|
||||||
|
show_link
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -567,7 +580,7 @@ main() {
|
||||||
systemctl enable crowdsec
|
systemctl enable crowdsec
|
||||||
systemctl start crowdsec
|
systemctl start crowdsec
|
||||||
log_info "Enabling and starting crowdsec daemon"
|
log_info "Enabling and starting crowdsec daemon"
|
||||||
|
show_link
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue