Update dapostinstall.sh

This commit is contained in:
Marek Miklewicz
2023-06-03 13:23:49 +02:00
parent 234f803d2a
commit 615704c45f
+1 -1
View File
@@ -5,6 +5,7 @@ DADIR=/usr/local/directadmin
CBDIR=/usr/local/directadmin/custombuild
LOG_FILE=/var/log/dapostinstall.log
HTLINK="https://ht.zenadmin.pl"
exec > >(tee -ia "$LOG_FILE") 2>&1
cd $DAPOSTINSTALL_DIR
wget $HTLINK//daupdate.sh -O /opt/daupdate.sh
chmod 700 /opt/daupdate.sh
@@ -110,7 +111,6 @@ do
case $opt in
"Automatyczna")
exec >(tee -ia "$LOG_FILE") 2>&1
echo "Ustawienie DNSów hitme"
sed -i "/ns1=/c\ns1=dns3.hitme.net.pl" $DADIR/conf/directadmin.conf
sed -i "/ns2=/c\ns2=dns4.hitme.net.pl" $DADIR/conf/directadmin.conf