mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 20:47:12 +01:00
fix: Unbound USB variable (#1860)
This commit is contained in:
@@ -1275,8 +1275,6 @@ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user