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