summaryrefslogtreecommitdiff
path: root/core/parseconfig.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-08-26 14:45:53 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-08-26 14:45:53 -0700
commit4f989f2478227c426401b27607f3f1bab7476c1c (patch)
tree556ab9b8af4794c857a79ff01cb7ef5d447f3dc9 /core/parseconfig.inc
parent460675909dd059f5fa84985402fcd6490503c884 (diff)
downloadsyslinux-4f989f2478227c426401b27607f3f1bab7476c1c.tar.gz
pxe: add a "pxeretry" option to deal with 404's in web appssyslinux-4.03-pre2
For web downloads, sometimes a mirror site will not be fully synced. Add an option to retry the open a specific number of times before giving up. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/parseconfig.inc')
-rw-r--r--core/parseconfig.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index e7b3108b..69681d94 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -462,6 +462,8 @@ AllowImplicit dw 1 ; Allow implicit kernels
AllowOptions dw 1 ; User-specified options allowed
IncludeLevel dw 1 ; Nesting level
DefaultLevel dw 0 ; The current level of default
+ global PXERetry
+PXERetry dw 0 ; Extra PXE retries
VKernel db 0 ; Have we seen any "label" statements?
%if IS_PXELINUX