diff options
author | szaimen <szaimen@e.mail.de> | 2020-09-26 00:03:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 00:03:12 +0300 |
commit | 276c2b7bc5db66b1bccc60e734fe228973170079 (patch) | |
tree | 804d5645c583a1579142306f7a320ec857178c72 /apps/fail2ban.sh | |
parent | eb34d26fde37372fba253f71ad964bfd4873f823 (diff) |
create a guide-variable for whiptail-menu's (#1478)
Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'apps/fail2ban.sh')
-rw-r--r-- | apps/fail2ban.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/fail2ban.sh b/apps/fail2ban.sh index a7dcbd18..8d20c3c4 100644 --- a/apps/fail2ban.sh +++ b/apps/fail2ban.sh @@ -28,7 +28,9 @@ lowest_compatible_nc 13 print_text_in_color "$ICyan" "Checking if Fail2Ban is already installed..." if is_this_installed fail2ban && [ -f "/etc/fail2ban/filter.d/nextcloud.conf" ] then - choice=$(whiptail --title "$TITLE" --menu "It seems like 'Fail2Ban' is already installed.\nChoose what you want to do." "$WT_HEIGHT" "$WT_WIDTH" 4 \ + choice=$(whiptail --title "$TITLE" --menu \ +"It seems like 'Fail2Ban' is already installed.\nChoose what you want to do. +$MENU_GUIDE\n\n$RUN_LATER_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4 \ "Reinstall Fail2Ban" "" \ "Uninstall Fail2Ban" "" 3>&1 1>&2 2>&3) |