aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-08-21 17:46:08 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-08-21 17:46:08 -0700
commit131a731d4370f69ee79e16dcafd650021b324ea2 (patch)
treeae9c7d01b42e5dfcefdaecfa8d84240e23cb33c6
parent0fb90210669c7f44336cd76935c7ee1a3579ce18 (diff)
downloadsyslinux-131a731d4370f69ee79e16dcafd650021b324ea2.tar.gz
syslinux-131a731d4370f69ee79e16dcafd650021b324ea2.tar.xz
syslinux-131a731d4370f69ee79e16dcafd650021b324ea2.zip
PXELINUX: Print an error message if the config file is not foundsyslinux-3.20-pre19
-rw-r--r--pxelinux.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index c49db37a..ac986d3a 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -838,6 +838,8 @@ config_scan:
dec di
loop .tryagain
+ mov si,err_noconfig
+ call writestr
jmp kaboom
.success:
@@ -2352,6 +2354,7 @@ bailmsg equ err_bootfailed
err_nopxe db "No !PXE or PXENV+ API found; we're dead...", CR, LF, 0
err_pxefailed db 'PXE API call failed, error ', 0
err_udpinit db 'Failed to initialize UDP stack', CR, LF, 0
+err_noconfig db 'Unable to locate configuration file', CR, LF, 0
err_oldtftp db 'TFTP server does not support the tsize option', CR, LF, 0
found_pxenv db 'Found PXENV+ structure', CR, LF, 0
using_pxenv_msg db 'Old PXE API detected, using PXENV+ structure', CR, LF, 0