Update dapostinstall.sh
This commit is contained in:
@@ -139,6 +139,16 @@ echo "Instaluje branding hitme dla skorki evolution"
|
|||||||
|
|
||||||
echo "Instalacja certyfikatu Let's Encrypt"
|
echo "Instalacja certyfikatu Let's Encrypt"
|
||||||
/usr/local/directadmin/scripts/letsencrypt.sh request_single `hostname` 4096
|
/usr/local/directadmin/scripts/letsencrypt.sh request_single `hostname` 4096
|
||||||
|
|
||||||
|
echo "Instalacja brandowanych templatek HITME"
|
||||||
|
cd $DAPOSTINDTALL_DIR
|
||||||
|
wget https://cdn.hitme.pl/da_templates.tar
|
||||||
|
tar -xf da_templates.tar
|
||||||
|
cp da_templates/*[1-9]* /home/admin/domains/default/
|
||||||
|
cp da_templates//home/admin/domains/default/index.html
|
||||||
|
cp da_templates/suspended.shtml /home/admin/domains/suspended/index.html
|
||||||
|
cp cp da_templates/index-hitme.html /var/www/html/index.html
|
||||||
|
cd $DAPOSTINSTALL_DIR
|
||||||
|
|
||||||
|
|
||||||
break
|
break
|
||||||
@@ -199,6 +209,7 @@ esac
|
|||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
|
||||||
read -p "Czy instalowac klucze logowania HITME do DirectAdmina (T/N)? " yn
|
read -p "Czy instalowac klucze logowania HITME do DirectAdmina (T/N)? " yn
|
||||||
@@ -268,6 +279,27 @@ esac
|
|||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
|
||||||
|
read -p "Czy instalowac klucze logowania HITME do SSH (T/N)? " yn
|
||||||
|
|
||||||
|
case $yn in
|
||||||
|
[Tt] ) echo "Czy instalowac brandowane templatki HITME dla stron www?"
|
||||||
|
cd $DAPOSTINDTALL_DIR
|
||||||
|
wget https://cdn.hitme.pl/da_templates.tar
|
||||||
|
tar -xf da_templates.tar
|
||||||
|
cp da_templates/*[1-9]* /home/admin/domains/default/
|
||||||
|
cp da_templates//home/admin/domains/default/index.html
|
||||||
|
cp da_templates/suspended.shtml /home/admin/domains/suspended/index.html
|
||||||
|
cp cp da_templates/index-hitme.html /var/www/html/index.html
|
||||||
|
cd $DAPOSTINSTALL_DIR
|
||||||
|
break;;
|
||||||
|
[nN] ) echo "Pomijam instalacje brandowanych templatek";
|
||||||
|
break;;
|
||||||
|
* ) echo "Niewlasciwa odpowiedz";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user