Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
appnotes:autobootchainurl [2009/07/23 06:18]
abo created
appnotes:autobootchainurl [2009/07/23 06:26]
abo add link on how to embed a script
Line 17: Line 17:
 Go into ''​src/​usr/​autoboot.c''​ and find the ''​netboot()''​ function. In that function there is a line "''​route();''"​. After that line, add "''​return 0;''"​. This causes autoboot to return when it has obtained a DHCP lease so that the next command is run. Go into ''​src/​usr/​autoboot.c''​ and find the ''​netboot()''​ function. In that function there is a line "''​route();''"​. After that line, add "''​return 0;''"​. This causes autoboot to return when it has obtained a DHCP lease so that the next command is run.
  
-Now build your patched gPXE with the following embedded script:+Now build your patched gPXE with the following ​[[:​scripting|embedded script]]:
  
 <​code>​ <​code>​
Line 28: Line 28:
  
 This method is of course a hack which will likely be obsoleted by scripting language improvements in the future. This method is of course a hack which will likely be obsoleted by scripting language improvements in the future.
 + 

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code appnotes:autobootchainurl (generated for current page)