[maemo-developers] [maemo-developers] Modified initfs with onscreen boot menu

From: Carlos Guerreiro carlos.guerreiro at nokia.com
Date: Mon Aug 21 22:58:19 EEST 2006
> Marius Vollmer <marius.vollmer at nokia.com> writes:
> 
> > Also, I already have a small UI improvement suggestion: what about
> > always showing the boot menu, not only when you hit the MENU key?  I
> > tend to miss the window where the key needs to be pressed all the
> > time.  Maybe the menu could be shown when the root device is "ask"?
> 
> Here is a small patch to implement this.
> 
> --- bootmenu.sh	2006-08-13 10:50:06.000000000 +0300
> +++ bootmenu-ask.sh	2006-08-21 18:17:30.000000000 +0300
> @@ -110,8 +110,8 @@
>      i=$((i+1))
>  done
>  
> -#show onscreeen menu if menu key was pressed
> -if [ "$HWKEYSTATE" = "$KEY_MENU" ] ; then
> +#show onscreeen menu if menu key was pressed or when the root device is "ask"
> +if [ "$HWKEYSTATE" = "$KEY_MENU" -o "$default_root" = "ask" ] ; then
>  	menu_init
>  	menu_redraw
>  	menu_loop

Frantisek, Marius, that's fantastic work!
This is a key piece of work to enable people to try out and follow up
Sardine on the 770 without having to give up using it. I'm going to try
it out ASAP :-)


More information about the maemo-developers mailing list