delete mail password always ...

This commit is contained in:
Michael H.G. Schmidt 2024-02-23 16:56:20 +01:00
parent e42b241c9d
commit 9ae1d25d0f

View File

@ -5,6 +5,7 @@ set BOOTFILE=boot.wim
set IMAGEFILE=install.wim
set SCRIPT_SETTINGS=scripts\settings.cmd
set CUSTOM_SETTINGS=custom\settings.cmd
set SNAPCONTROL_INI=custom\snapcontrol.ini
IF %1.==. GOTO USAGE
@ -99,6 +100,12 @@ for %%A in (
)
)
echo.
echo removing mail password from snapcontrol.ini
if EXIST %DRIVE%\tools\%SNAPCONTROL_INI% (
tools\searchreplace %DRIVE%\tools\%SNAPCONTROL_INI% "^.*MAILPASS.*=.*" "MailPass = DELETED"
)
echo.
echo deleting ftpsettings.cmd ...
del /F /Q %DRIVE%\tools\custom\ftpsettings.cmd