mirror of
https://github.com/dockur/windows.git
synced 2026-09-13 21:38:22 +01:00
Update batch.sh
This commit is contained in:
+8
-5
@@ -3163,19 +3163,22 @@ createWin9xSystemImage() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local boot_gui=0
|
local boot_gui=0
|
||||||
[[ "${id,,}" == "win9x"* ]] && boot_gui=1
|
[[ "${id,,}" == "win9x" ]] && boot_gui=1
|
||||||
|
|
||||||
|
local auto_scan=2
|
||||||
|
[[ "${id,,}" == "win95" ]] && auto_scan=0
|
||||||
|
|
||||||
{
|
{
|
||||||
printf '%s\n' \
|
printf '%s\n' \
|
||||||
'[Options]' \
|
"[Options]" \
|
||||||
"BootGUI=$boot_gui" \
|
"BootGUI=$boot_gui" \
|
||||||
"BootMenu=0" \
|
"BootMenu=0" \
|
||||||
"BootMenuDefault=1" \
|
"BootMenuDefault=1" \
|
||||||
"BootWarn=0" \
|
"BootWarn=0" \
|
||||||
"BootSafe=0" \
|
"BootSafe=0" \
|
||||||
'BootDelay=0' \
|
"BootDelay=0" \
|
||||||
'AutoScan=2' \
|
"AutoScan=$auto_scan" \
|
||||||
'Logo=0' \
|
"Logo=0" \
|
||||||
''
|
''
|
||||||
} | unix2dos > "$msdos" || return 1
|
} | unix2dos > "$msdos" || return 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user