Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Special characters in cmdline
2018-11-19, 09:53
Post: #1
Special characters in cmdline
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
Find all posts by this user
Quote this message in a reply
2018-11-20, 00:14
Post: #2
RE: Special characters in cmdline
you will have to create a variable that contains &,
See the example in the notes at https://ipxe.org/cmd/set#notes

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-11-20, 10:33
Post: #3
RE: Special characters in cmdline
Oh okay, that might work. Thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)