Hi,

Lampersperger Andreas <[EMAIL PROTECTED]> writes:

> I have there a small patch to commands/ls.c, whichs makes the
> ls-command return an error for non existing fils (as the bash ls
> command).
>
> With this patch, one can have in the grub.cfg files statements like:
>
> if ls /boot/grub/grub.cfg.gfx ; then
>     source /boot/grub/grub.cfg.gfx
> fi
>
> I would be glad if you accept the patch or give me comments to improve
> the patch.

It would be better to add a "test" command.  I have one sitting on my
harddisk, waiting for me to finish it... :-/

--
Marco



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

Reply via email to