Update define.sh

This commit is contained in:
Kroese 2025-03-18 16:06:53 +01:00 committed by GitHub
parent b29a30492d
commit b887fe6a12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1494,7 +1494,7 @@ prepareInstall() {
echo "Set oFSO = CreateObject(\"Scripting.FileSystemObject\")"
echo "Set oHosts = oFSO.GetFile(\"C:\Windows\System32\drivers\etc\hosts\")"
echo "Set fileAPPEND = oFSO.OpenTextFile(\"C:\Windows\System32\drivers\etc\hosts\", 8, true)"
echo "fileAPPEND.Write(\"192.168.0.1 MyMachine\")"
echo "fileAPPEND.Write(\"20.20.20.1 host.lan\")"
echo "fileAPPEND.Close()"
echo ""
} | unix2dos > "$dir/\$OEM\$/admin.vbs"