Set searchdomain exabyte.systems as default #48
This commit is contained in:
parent
95d41b09a0
commit
dbb9858e4b
@ -5,6 +5,7 @@ set T=c:\TEMP
|
|||||||
set TOOLS=c:\tools
|
set TOOLS=c:\tools
|
||||||
set SCRIPTS=%TOOLS%\scripts
|
set SCRIPTS=%TOOLS%\scripts
|
||||||
set LOG=%SCRIPTS%\autoconfig-all.txt
|
set LOG=%SCRIPTS%\autoconfig-all.txt
|
||||||
|
set COMPANY_SETTINGS=..\company\settings.cmd
|
||||||
|
|
||||||
del /F %LOG% 1>nul 2>nul
|
del /F %LOG% 1>nul 2>nul
|
||||||
if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1
|
if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1
|
||||||
@ -24,6 +25,8 @@ mkdir %T% 1>nul 2>nul
|
|||||||
echo cd to %SCRIPTS% ...
|
echo cd to %SCRIPTS% ...
|
||||||
cd /D %SCRIPTS%
|
cd /D %SCRIPTS%
|
||||||
|
|
||||||
|
|
||||||
|
rem SCRIPT settings ...
|
||||||
if EXIST settings.cmd (
|
if EXIST settings.cmd (
|
||||||
echo loading settings ...
|
echo loading settings ...
|
||||||
call settings.cmd
|
call settings.cmd
|
||||||
@ -40,6 +43,27 @@ echo install_aerolite=%install_aerolite%
|
|||||||
echo ++++++++++++++++++
|
echo ++++++++++++++++++
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
|
||||||
|
rem COMPANY settings ...
|
||||||
|
set mydomain=
|
||||||
|
if NOT EXIST %COMPANY_SETTINGS% (
|
||||||
|
echo INFO: COMPANY %COMPANY_SETTINGS% NOT FOUND
|
||||||
|
) else (
|
||||||
|
echo OK. Loading COMPANY settings ...
|
||||||
|
call %COMPANY_SETTINGS%
|
||||||
|
)
|
||||||
|
|
||||||
|
echo ++++++++++++++++++
|
||||||
|
echo mydomain=%mydomain%
|
||||||
|
echo ++++++++++++++++++
|
||||||
|
echo.
|
||||||
|
|
||||||
|
|
||||||
|
echo #######################
|
||||||
|
echo ### UNPACK and COPY ###
|
||||||
|
echo #######################
|
||||||
|
echo.
|
||||||
|
|
||||||
rem 7-zip is essential for other scripts ...
|
rem 7-zip is essential for other scripts ...
|
||||||
call unpack-7zip.cmd
|
call unpack-7zip.cmd
|
||||||
echo.
|
echo.
|
||||||
@ -56,6 +80,7 @@ rem copy some other stuff ...
|
|||||||
call copy-executables.cmd
|
call copy-executables.cmd
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
|
||||||
echo #######################
|
echo #######################
|
||||||
echo ### MODIFICATIONS ###
|
echo ### MODIFICATIONS ###
|
||||||
echo #######################
|
echo #######################
|
||||||
@ -102,6 +127,9 @@ echo.
|
|||||||
call modify-timeservers.cmd
|
call modify-timeservers.cmd
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
call modify-searchdomains.cmd
|
||||||
|
echo.
|
||||||
|
|
||||||
echo #######################
|
echo #######################
|
||||||
echo ### UNINSTALL tasks ###
|
echo ### UNINSTALL tasks ###
|
||||||
echo #######################
|
echo #######################
|
||||||
@ -116,6 +144,7 @@ echo.
|
|||||||
call uninstall-edge.cmd
|
call uninstall-edge.cmd
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
|
||||||
echo #####################
|
echo #####################
|
||||||
echo ### INSTALL tasks ###
|
echo ### INSTALL tasks ###
|
||||||
echo #####################
|
echo #####################
|
||||||
@ -170,6 +199,7 @@ echo removing read-only flag on tools folder ...
|
|||||||
attrib /S /D -R %TOOLS%\*
|
attrib /S /D -R %TOOLS%\*
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
|
||||||
echo #####################
|
echo #####################
|
||||||
echo ### DISABLE tasks ###
|
echo ### DISABLE tasks ###
|
||||||
echo #####################
|
echo #####################
|
||||||
@ -199,6 +229,7 @@ echo.
|
|||||||
powershell -command .\disable-soundscheme.ps1
|
powershell -command .\disable-soundscheme.ps1
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
|
||||||
echo #####################
|
echo #####################
|
||||||
echo ### CLEANUP tasks ###
|
echo ### CLEANUP tasks ###
|
||||||
echo #####################
|
echo #####################
|
||||||
|
10
scripts/modify-searchdomains.cmd
Normal file
10
scripts/modify-searchdomains.cmd
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
echo ####### %0 #######
|
||||||
|
|
||||||
|
echo setting DNS search list (mydomains) ...
|
||||||
|
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" ^
|
||||||
|
/v SearchList /t REG_SZ /f /d "%mydomains%"
|
||||||
|
|
||||||
|
echo ####### %0 #######
|
||||||
|
|
Loading…
Reference in New Issue
Block a user