Update dapostinstall.sh

This commit is contained in:
Marek Miklewicz
2022-05-13 20:36:48 +02:00
committed by GitHub
parent b6298815f7
commit 22a3bc6dd4
+3 -6
View File
@@ -2,6 +2,8 @@
DAPOSTINSTALL_DIR=/opt/dapostinstall
HTLINK="https://ht.zenadmin.pl"
cd $DAPOSTINSTALL_DIR
wget $HTLINK//daupdate.sh -O $DAPOSTINSTALL_DIR/daupdate.sh
chmod 700 $DAPOSTINSTALL_DIR/daupdate.sh
echo "Tworzenie domyslnego pakietu"
mkdir -p /usr/local/directadmin/data/users/admin/packages/
mkdir -p /usr/local/directadmin/data/users/admin/packages
@@ -278,16 +280,11 @@ cd /usr/local/directadmin/custombuild
echo "Inne optymalizacje"
cd $DAPOSTINSTALL_DIR
wget $HTLINK//daupdate.sh -O $DAPOSTINSTALL_DIR/daupdate.sh
chmod 700 $DAPOSTINSTALL_DIR/daupdate.sh
$DAPOSTINSTALL_DIR/daupdate.sh update
daupdate rblda_full
daupdate secssh
daupdate antybots
cd /opt
sh /opt/daupdate bbmysql
daupdate klucze
daupdate keyput
systemctl restart sshd
csf -r