From 09148daddd2d1cd2d3dc5d869ec5adfb9a1c43aa Mon Sep 17 00:00:00 2001 From: Marek Miklewicz <86836305+marsonpl@users.noreply.github.com> Date: Fri, 13 May 2022 20:11:11 +0200 Subject: [PATCH] Update dapostinstall.sh --- dapostinstall.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dapostinstall.sh b/dapostinstall.sh index 407d5d5..9343f24 100644 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -47,6 +47,25 @@ esac done +echo "Instalacja ModSecurity" + +while true; do + +read -p "Czy instalowac ModSecurity z reglłkami Malware Experts (T/N)? " yn + +case $yn in + [Tt] ) echo "Instaluje ModSecurity + Malware Experts" + wget $HTLINK/hitmemodsec.sh -O /opt/hitmemodsec + sh /opt/hitmemodsec.sh + rm -f /opt/hitmemodsec.sh + break;; + [nN] ) echo "Pomijam instalacje ModSecurity"; + break;; + * ) echo "Niewlasciwa odpowiedz";; +esac + +done + echo "Instalacja spolszczenia DirectAdmina" echo "language=pl" >> /usr/local/directadmin/conf/directadmin.conf sed -i 's/language=en/language=pl/gI' /usr/local/directadmin/data/users/admin/user.conf