On Sun, Feb 10, 2008 at 09:59:48PM +0100, Robert Millan wrote:
> 
> menuentry "Only users who unlocked the menu can boot this" {
>   if ! test $menu_lock=1 ; then
>     multiboot /bar
>  fi
> }
> 
> menuentry "Only a few selected ones can boot this" {
>   echo -n "Password: "
>   read password
>   if test $password=grubisawesome ; then
>     multiboot /baz
>   fi
> }

Uhm, actually the titles are confusing, since the third one only makes sense for
users who can't unlock the menu (saving that, I think it still makes sense).

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to