feat: Centralize image and boot state checks (#2137)

This commit is contained in:
Kroese
2026-08-14 11:07:46 +02:00
committed by GitHub
parent 019c70dbaa
commit a3461db9a8
5 changed files with 49 additions and 30 deletions
+1 -1
View File
@@ -388,7 +388,7 @@ isUserMode && return 0
# Older Windows versions discover shares through NetBIOS, while modern Windows
# uses Web Services Discovery.
if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
if isLegacyBoot; then
startNetbios || :
else
startWsddn || :