grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] implement menu_lock


From: Robert Millan
Subject: Re: [PATCH] implement menu_lock
Date: Sun, 10 Feb 2008 22:08:34 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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 /.)




reply via email to

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