diff options
| author | hpa <hpa> | 2001-03-08 06:38:55 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2001-03-08 06:38:55 +0000 |
| commit | 4a5bcf0c5cd72e7d6f9bd2ffa1fb41677baddc3f (patch) | |
| tree | 0988003263cc38b76c55f4e3c59a8c1f13bddbc3 | |
| parent | 11860a0d855d2c98b6096db64d4b2688ce39c27e (diff) | |
| download | syslinux-1.53-pre3.tar.gz | |
Actually look at the flag passed to "localboot"syslinux-1.53-pre3
| -rw-r--r-- | pxelinux.asm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pxelinux.asm b/pxelinux.asm index d7cb3f4d..4deae09d 100644 --- a/pxelinux.asm +++ b/pxelinux.asm @@ -912,8 +912,11 @@ pc_ipappend: call getint ; "ipappend" command .vk: mov [VKernelBuf+vk_ipappend],bl jmp short parse_config_2 -pc_localboot: cmp word [VKernelCtr],byte 0 ; "localboot" command - je parse_config_2 ; ("label" section only) +pc_localboot: call getint ; "localboot" command + and bx,bx + jz parse_config_2 + cmp word [VKernelCtr],byte 0 ; ("label" section only) + je parse_config_2 mov [VKernelBuf+vk_rname], byte 0 ; Null kernel name jmp short parse_config_2 @@ -933,12 +936,12 @@ pc_timeout: call getint ; "timeout" command mul bx ; clock ticks per 1/10 s add bx,dx mov [KbdTimeOut],bx - jmp short parse_config_2 +parse_config_2: jmp parse_config pc_display: call pc_getfile ; "display" command jz parse_config_2 ; File not found? call get_msg_file ; Load and display file -parse_config_2: jmp parse_config + jmp short parse_config_2 pc_prompt: call getint ; "prompt" command jc parse_config_2 |
