Update define.sh

This commit is contained in:
Kroese 2024-05-19 09:18:35 +02:00 committed by GitHub
parent 6ddc84a9f8
commit 308f4dfb2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1983,7 +1983,7 @@ configXP() {
local password="*" local password="*"
[ -n "$USERNAME" ] && username="$USERNAME" [ -n "$USERNAME" ] && username="$USERNAME"
[ -n "$PASSWORD" ] && password="$PASSWORD" [ -n "$PASSWORD" ] && password="$PASSWORD"
find "$target" -maxdepth 1 -type f -iname winnt.sif -exec rm {} \; find "$target" -maxdepth 1 -type f -iname winnt.sif -exec rm {} \;
{ echo "[Data]" { echo "[Data]"
@ -2043,8 +2043,8 @@ configXP() {
echo "AllowConnections=1" echo "AllowConnections=1"
echo "" echo ""
echo "[GuiRunOnce]" echo "[GuiRunOnce]"
echo "%SystemRoot%\notepad.exe" echo "Command0=\"reg add HKCU\Control Panel\Desktop /v ScreenSaveActive /t REG_SZ /d 0 /f\""
echo "%SystemRoot%\system32\reg.exe add \"HKEY_CURRENT_USER\Control Panel\Desktop\" /v ScreenSaveActive /t REG_SZ /d 0 /f" echo "Command1=\"%SystemRoot%\notepad.exe\""
} | unix2dos > "$target/WINNT.SIF" } | unix2dos > "$target/WINNT.SIF"
{ echo "Windows Registry Editor Version 5.00" { echo "Windows Registry Editor Version 5.00"