iPXE discussion forum
Special characters in cmdline - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Special characters in cmdline (/showthread.php?tid=15136)



Special characters in cmdline - parthy - 2018-11-19 09:53

Hi,

I am trying to load a module whose command line contains "&&". Unfortunately, I could not find a way to convince iPXE to just pass this cmdline, instead it interprets the ampersands as part of the script. Is there any way to work around that, something like escape characters?

If I enclose the entire command line in quotes, it also does not work, because then those quotes are actually part of the cmdline, which confuses the module.

Any help is appreciated Smile
parthy


RE: Special characters in cmdline - NiKiZe - 2018-11-20 00:14

you will have to create a variable that contains &,
See the example in the notes at https://ipxe.org/cmd/set#notes


RE: Special characters in cmdline - parthy - 2018-11-20 10:33

Oh okay, that might work. Thanks!