diff --git a/dapostinstall.sh b/dapostinstall.sh index f825c6c..6c39faa 100644 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -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