move more promptws to the scripts

This commit is contained in:
Mario Fetka
2024-04-20 11:07:14 +02:00
parent 44192ec2a7
commit 2aadf552c4
26 changed files with 85 additions and 83 deletions

0
fail2ban/config-v1.sh Normal file
View File

View File

@@ -0,0 +1,9 @@
BANUNBAN=$(whiptail --title "Add Ban / Unban to Mystic" --radiolist --cancel-button Exit-Script "Choose Fail2Ban IpBan No" 12 58 5 \
"fail2ban" "Add Fail2Ban" ON \
"ipban" "Add IpBan" OFF \
"No" "Don't add IP Banning" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Add Fail2Ban: ${BGN}$BANUNBAN${CL}"
fi