[syslinux] Menu system exit

ganapathy murali krishnan gmurali at cs.uchicago.edu
Thu May 20 13:12:38 PDT 2004


If you look at your mymenu.c, there is a line which goes like

"if (curr->action ==OPT_EXIT) return 0"

You could just replace it with

if (curr->action == OPT_EXIT) runcommand(curr->data)

where the curr->data has the name of .com file to execute.

- Murali
 
Aaron McSorley wrote:

>  I want to make a menu system consisting of multiple
>comboot menu files, how do tell the exit (ESC, Left Arrow) function
>to go to a menu file rather than the boot prompt.
>
>Thanks
> -Aaron
>
>
>
>_______________________________________________
>SYSLINUX mailing list
>Submissions to SYSLINUX at zytor.com
>Unsubscribe or set options at:
>http://www.zytor.com/mailman/listinfo/syslinux
>Please do not send private replies to mailing list traffic.
>
>
>  
>





More information about the Syslinux mailing list