This commit is contained in:
Konano 2023-07-22 16:07:54 +08:00
parent ad4ce6a371
commit c59eb57d92
2 changed files with 6 additions and 2 deletions

View File

@ -176,6 +176,8 @@ configure_timedate() {
}
configure_fail2ban() {
[ -f /etc/fail2ban/jail.local ] && return
read -p "要配置 fail2ban 吗?[Y]: " response
if [[ $response =~ ^[Yy]$ ]]; then

View File

@ -176,6 +176,8 @@ configure_timedate() {
}
configure_fail2ban() {
[ -f /etc/fail2ban/jail.local ] && return
read -p "要配置 fail2ban 吗?[Y]: " response
if [[ $response =~ ^[Yy]$ ]]; then