Update dapostinstall.sh
This commit is contained in:
+3
-6
@@ -2,6 +2,8 @@
|
|||||||
DAPOSTINSTALL_DIR=/opt/dapostinstall
|
DAPOSTINSTALL_DIR=/opt/dapostinstall
|
||||||
HTLINK="https://ht.zenadmin.pl"
|
HTLINK="https://ht.zenadmin.pl"
|
||||||
cd $DAPOSTINSTALL_DIR
|
cd $DAPOSTINSTALL_DIR
|
||||||
|
wget $HTLINK//daupdate.sh -O $DAPOSTINSTALL_DIR/daupdate.sh
|
||||||
|
chmod 700 $DAPOSTINSTALL_DIR/daupdate.sh
|
||||||
echo "Tworzenie domyslnego pakietu"
|
echo "Tworzenie domyslnego pakietu"
|
||||||
mkdir -p /usr/local/directadmin/data/users/admin/packages/
|
mkdir -p /usr/local/directadmin/data/users/admin/packages/
|
||||||
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"
|
echo "Inne optymalizacje"
|
||||||
|
|
||||||
cd $DAPOSTINSTALL_DIR
|
cd $DAPOSTINSTALL_DIR
|
||||||
wget $HTLINK//daupdate.sh -O $DAPOSTINSTALL_DIR/daupdate.sh
|
|
||||||
chmod 700 $DAPOSTINSTALL_DIR/daupdate.sh
|
|
||||||
$DAPOSTINSTALL_DIR/daupdate.sh update
|
$DAPOSTINSTALL_DIR/daupdate.sh update
|
||||||
daupdate rblda_full
|
daupdate rblda_full
|
||||||
daupdate secssh
|
|
||||||
daupdate antybots
|
|
||||||
cd /opt
|
cd /opt
|
||||||
sh /opt/daupdate bbmysql
|
sh /opt/daupdate bbmysql
|
||||||
daupdate klucze
|
|
||||||
daupdate keyput
|
|
||||||
|
|
||||||
systemctl restart sshd
|
systemctl restart sshd
|
||||||
csf -r
|
csf -r
|
||||||
|
|||||||
Reference in New Issue
Block a user