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

Re: GRUB legal disclaimers before the menu



 Hi.

On Tue, Feb 03, 2015 at 11:41:11PM +0000, Brian wrote:
> > Try putting a disclaimer inside the menuentry, i.e.
> > 
> > menuentry "<legal_goes_here>" {
> > 	echo 'You shouldn't be here'
> > }
> 
> This looks like a good idea; in fact, it may be the only way of getting
> close to what the OP wants. Hpwever, the problem might be the length of
> the disclaimer for setparams ("<legal_goes_here>"). The GRUB menu
> displays the text on one line and, with line wrapping not apparently
> available, much of it will not be on the screen.
> 
> I would also query the purpose of the second line in the stanza.

Simple. A menuentry like this is a legitimate menu entry, i.e. user can
try to choose it and press enter. IMO GRUB should do *something* in this
case.

Reco


Reply to: