From c316f6cdbdb8415494ccc92e265c442bf2cee1a4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Aug 2008 21:33:56 +0200 Subject: Moving win32-loader inclusion support from external hook into main program (Closes: #476546). --- functions/defaults.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'functions') 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}" -- cgit v1.2.3