removed company settings file from autoconfig script

This commit is contained in:
Michael H.G. Schmidt 2023-01-01 13:09:14 +01:00
parent dd9cf301cd
commit 556c72164b
2 changed files with 28 additions and 18 deletions

View File

@ -3,9 +3,9 @@ rem this script is doing most of the work ...
set T=c:\TEMP set T=c:\TEMP
set TOOLS=c:\tools set TOOLS=c:\tools
set SETTINGS=settings.cmd
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
@ -26,36 +26,45 @@ echo cd to %SCRIPTS% ...
cd /D %SCRIPTS% cd /D %SCRIPTS%
rem SCRIPT settings ... rem SCRIPT settings ...
if EXIST settings.cmd ( if EXIST %SETTINGS% (
echo loading settings ... echo loading settings ...
call settings.cmd call %SETTINGS%
) else ( ) else (
echo WARNING: settings.cmd not found! echo WARNING: [ %SETTINGS% ] not found!
echo setting defaults ... echo setting defaults ...
set windows_updates=1
set LANG=en-US
set windows_updates=0
set logon_logo=1
set install_firefox=1
set install_aerolite=1
set bgcol_R=3
set bgcol_G=131
set bgcol_B=135
set explorer_quick_access=1
set gitserver=github.com
set gitrepo=dummy
set searchdomains=localdomain
) )
echo ++++++++++++++++++ echo ++++++++++++++++++
echo LANG=%LANG%
echo windows_updates=%windows_updates% echo windows_updates=%windows_updates%
echo logon_logo=%logon_logo%
echo install_firefox=%install_firefox% echo install_firefox=%install_firefox%
echo install_aerolite=%install_aerolite% echo install_aerolite=%install_aerolite%
echo ++++++++++++++++++ echo bgcol_R=%bgcol_R%
echo. echo bgcol_G=%bgcol_G%
echo bgcol_B=%bgcol_B%
rem COMPANY settings ... echo explorer_quick_access=%explorer_quick_access%
set searchdomains= echo gitserver=%gitserver%
if NOT EXIST %COMPANY_SETTINGS% ( echo gitrepo=%gitrepo%
echo INFO: COMPANY %COMPANY_SETTINGS% NOT FOUND
) else (
echo OK. Loading COMPANY settings ...
call %COMPANY_SETTINGS%
)
echo ++++++++++++++++++
echo searchdomains=%searchdomains% echo searchdomains=%searchdomains%
echo ++++++++++++++++++ echo ++++++++++++++++++
echo. echo.
echo ####################### echo #######################
echo ### UNPACK and COPY ### echo ### UNPACK and COPY ###
echo ####################### echo #######################

View File

@ -9,4 +9,5 @@ set bgcol_B=135
set explorer_quick_access=1 set explorer_quick_access=1
set gitserver=gitea.exabyte.systems set gitserver=gitea.exabyte.systems
set gitrepo=personal set gitrepo=personal
set searchdomains=exabyte.systems,exabyte-systems.com