[ipxe-devel] [GitHub] Add 'equals' command [ipxe/ipxe GH-4]

gjednaszewski reply+i-736366-57dfa31ebca7c27a7952046d58eb90e408fb3cc3 at reply.github.com
Wed Apr 6 02:53:15 UTC 2011

There are two small changes here.  The first is to add a space after 'echo -n output' so that prompts look a bit nicer.

The second is an 'equals' command that allows the user to do something like the following.  I tried to keep the code stylistically the same as the existing code.

echo -n Is this information correct? (y/n): && read answer
equals ${answer} y && goto mainloop ||
equals ${answer} Y && goto mainloop ||
goto nextstep

If accepted, please let me know how I can help update the documentation on ipxe.org.

Reply to this email directly or view it on GitHub:

More information about the ipxe-devel mailing list