From 3b2a26e303443b8c245b189af34f80c0b40146e2 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 15 Jul 2026 18:40:29 +0200 Subject: [PATCH] fix: Backwards compatibility for USB state (#1859) --- src/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/install.sh b/src/install.sh index fa363eeb..ee5f11fa 100644 --- a/src/install.sh +++ b/src/install.sh @@ -1275,6 +1275,8 @@ bootWindows() { restoreState "VGA" "$STORAGE/windows.vga" || return 1 restoreState "USB" "$STORAGE/windows.usb" || return 1 + [[ "${USB,,}" == "none" ]] && USB="no" + restoreState "ADAPTER" "$STORAGE/windows.net" || return 1 restoreState "DISK_TYPE" "$STORAGE/windows.type" || return 1 restoreState "BOOT_MODE" "$STORAGE/windows.mode" "Y" || return 1