On Thursday 26 May 2011 15:53:39 Nicolas Bourbaki wrote: > Is there a way not to disable the command-line when embedding a script > inside the ipxe binary ? > > Whenever you build using the following: > > make EMBEDDED_IMAGE=<path-to-script> > > the command line gets disabled which can be annoying when you try to > debug things.
You can use the "shell" command to enter an interactive shell from within the script. For example: #!ipxe dhcp || shell # Drop to shell if DHCP fails As Shao mentioned, you can also use the "prompt" command (http://ipxe.org/cmd/prompt) to emulate the standard "Press Ctrl-B" behaviour. Michael _______________________________________________ ipxe-devel mailing list [email protected] https://lists.ipxe.org/mailman/listinfo/ipxe-devel

