Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE script calls another iPXE script recursively
2015-03-09, 10:15 (This post was last modified: 2015-03-09 10:26 by robinsmidsrod.)
Post: #2
RE: iPXE script calls another iPXE script recursively
Try to change the "chain" into "chain -ar". That makes it behave like a tail call (or similar to the exec function in bash). Obviously it means that you can't return back to the previous script. And yes, iPXE is running out of stack space when you do what you did recursively.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: iPXE script calls another iPXE script recursively - robinsmidsrod - 2015-03-09 10:15



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