On Sun, Apr 15, 2012 at 03:20:44PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 15:26 Sun 15 Apr , Sascha Hauer wrote: > > This adds nameserver and domainname to net devices. This may not > > be 100% correct since the nameserver and domainname are not network > > device specific. However, we currently do not have the possibility > > for global variables. DNS support depends on the nameserver/domainname > > to be set correctly. When we set both inside a script the variables > > will not be available to the parent context, so use device parameters > > which are global. > > how about put it at bus level instead? > > I get an issue is what happened if we have 2 ethernet? > > and switch from one to the other? I am aware of this issue, but what do you mean with 'put it at bus level?' I thought about adding a device named 'net' which would only exist to store these variables. Is that what you mean? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox