Support getfile.retries=... boot option
authorMichael Prokop <mika@grml.org>
Mon, 27 Oct 2014 22:29:36 +0000 (23:29 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 27 Oct 2014 23:45:11 +0000 (00:45 +0100)
commitab84b05724db9328b170d7daffc4df9f7c270ca2
treeb2fcc8305cc11ef63d22d1ba4cbf07f8d45765d2
parented9c62287526b703ba24732f803c5562ea1890b3
Support getfile.retries=... boot option

The netscript=... and netscript=... boot options might fail to
download the provided argument during bootup in certain
environments. Retrieving the IP address via DHCP might take just
too long (hello Spanning Tree Protocol!), so the last run of the
netscript retrieval is executed without having the network
configuration available yet.  Explicitly setting the number of
retries via getfile.retries=... to something higher than the
default (being 10) allows the user to work around this issue.

Thanks: Sipwise GmbH for sponsoring my development time
Thanks: Christian Hofstaedtler for reviewing
autoconfig.functions