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