summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 477c6b83f..969c41f40 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -634,6 +634,17 @@ Set_defaults ()
# Setting memtest option
LH_MEMTEST="${LH_MEMTEST:-memtest86+}"
+ # Setting win32-loader option
+ case "${LH_ARCHITECTURE}" in
+ amd64|i386)
+ LH_WIN32_LOADER="enabled"
+ ;;
+
+ *)
+ LH_WIN32_LOADER="disabled"
+ ;;
+ esac
+
# Setting netboot filesystem
LH_NET_ROOT_FILESYSTEM="${LH_NET_ROOT_FILESYSTEM:-nfs}"