mirror of
https://github.com/dockur/windows.git
synced 2026-09-14 05:43:02 +01:00
feat: Centralize image and boot state checks (#2137)
This commit is contained in:
+1
-1
@@ -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 || :
|
||||
|
||||
Reference in New Issue
Block a user