Update dapostinstall.sh
This commit is contained in:
+3
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user