[PATCH v2] dns work

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Apr 15 11:24:32 EDT 2012


On 16:28 Sun 15 Apr     , Sascha Hauer wrote:
> The following patches make the dns more universally usable. The
> dns code relies on the nameserver and domainname environment variables
> being set. The dhcp command correctly sets these variables, but when we
> call it from within a script, the variables won't be available from the
> parent context. This is solved by adding a 'net' device which only purpose
> is to store the nameserver and domainname.
> Also, tftpfs can now work with hostnames instead of only ip addresses.
much better and less code

tks

Best Regards,
J.



More information about the barebox mailing list