The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
paranoid chainloading script for flimsy tftp
2011-12-23, 22:25 (This post was last modified: 2011-12-26 11:27 by robinsmidsrod.)
Post: #1
paranoid chainloading script for flimsy tftp
Are you chainloading undionly.kpxe and want a universal script to break the loop...

Code:
#!ipxe
:label_retry_dhcp
dhcp && goto label_check_loop
set countdhcp ${countdhcp}x
iseq ${countdhcp} xxx || goto label_retry_dhcp
reboot
:label_check_loop
iseq ${filename} undionly.kpxe || goto label_no_loop
set filename ${filename}.ipxe
:label_retry_chain
chain ${filename} ||
set countchain ${countchain}x
iseq ${countchain} xxx || goto label_retry_chain
reboot
:label_no_loop
autoboot ||
set countautoboot ${countautoboot}x
iseq ${countautoboot} xxx || goto label_no_loop
reboot
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
paranoid chainloading script for flimsy tftp - lstraath - 2011-12-23 22:25



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