Update dapostinstall.sh

This commit is contained in:
Marek Miklewicz
2023-06-03 13:18:32 +02:00
parent caf93fddaa
commit 234f803d2a
+2 -2
View File
@@ -3,8 +3,7 @@
DAPOSTINSTALL_DIR=/opt/dapostinstall
DADIR=/usr/local/directadmin
CBDIR=/usr/local/directadmin/custombuild
DAPOSTINSTALL_LOG=/var/log/dapostinstall.log
exec >(tee -ia "$log_file") 2>&1
LOG_FILE=/var/log/dapostinstall.log
HTLINK="https://ht.zenadmin.pl"
cd $DAPOSTINSTALL_DIR
wget $HTLINK//daupdate.sh -O /opt/daupdate.sh
@@ -111,6 +110,7 @@ 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