Current-Users archive

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

Re: Patch for boot loader: "menu" command



On Fri, Jul 26, 2013 at 01:09:27AM +0200, Havard Eidnes wrote:
> Eric wrote:
> > How about change "boot" to use whatever boot.cfg says is the default
> > boot option, and "boot ...anything..." to be the override-the-menu
> > command?
> 
> How does the attached look?  It should implement the suggested idea.

That looks like a pretty simple change.

> diff -u -r1.58 boot2.c
...
> +#ifndef SMALL
> +             if (bootconf.nummenu > 0)
> +                     bootdefault();
> +#endif

Is this nummenu>0 condition needed both here an inside bootdefault()?

Eric


Home | Main Index | Thread Index | Old Index