fix: Backwards compatibility for USB state (#1859)

This commit is contained in:
Kroese
2026-07-15 18:40:29 +02:00
committed by GitHub
parent 463935baf2
commit 3b2a26e303
+2
View File
@@ -1275,6 +1275,8 @@ bootWindows() {
restoreState "VGA" "$STORAGE/windows.vga" || return 1 restoreState "VGA" "$STORAGE/windows.vga" || return 1
restoreState "USB" "$STORAGE/windows.usb" || return 1 restoreState "USB" "$STORAGE/windows.usb" || return 1
[[ "${USB,,}" == "none" ]] && USB="no"
restoreState "ADAPTER" "$STORAGE/windows.net" || return 1 restoreState "ADAPTER" "$STORAGE/windows.net" || return 1
restoreState "DISK_TYPE" "$STORAGE/windows.type" || return 1 restoreState "DISK_TYPE" "$STORAGE/windows.type" || return 1
restoreState "BOOT_MODE" "$STORAGE/windows.mode" "Y" || return 1 restoreState "BOOT_MODE" "$STORAGE/windows.mode" "Y" || return 1