bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running the preset option more than once


From: Damian Ivereigh
Subject: Running the preset option more than once
Date: 13 May 2002 17:29:30 +1000

Hi guys, 

I think this is a bug, but would like it confirmed. I set the preset
menu/config (i.e. the menu compiled into grub) to be "bootp
--with-configfile" - this is an extension of the diskless setup. The
idea being that once grub starts it will automatically get a bootp/dhcp
address and then run the config file specified in the T150 tag of the
bootp response. 

This all works until it comes to execute the new config file: it re-runs
the preset menu/config, which of course issues another bootp and get
another config file, endless loop. 

I have enclosed a patch that will fix this by checking the return value
from the setjmp, such that if it is not the first time through, it
"closes" the preset menu, which turns it off. However maybe there is
some other way to do this.

Thoughts? 

Damian 

-- 
Damian Ivereigh
CEPS Team Lead
http://wwwin-print.cisco.com
Desk: +61 2 8446 6344
Fax: +61 2 8446 8498
Mob: +61 418 217 582

Attachment: grub-0.92-fixpreset.patch
Description: Text document

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]