From 22a3bc6dd45f443ffd08895464d5d3dd2b014664 Mon Sep 17 00:00:00 2001 From: Marek Miklewicz <86836305+marsonpl@users.noreply.github.com> Date: Fri, 13 May 2022 20:36:48 +0200 Subject: [PATCH] Update dapostinstall.sh --- dapostinstall.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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