Hi Jorge, On Thu, May 12, 2011 at 02:01:19AM +0000, Jorge Manuel B. S. Vicetto wrote: > On 12-05-2011 01:45, William Hubbs wrote: > > In my opinion, the best way to fix this, and the best way forward, would > > be to stop doing this. My plan is something like this: > > > > For the next openrc release, put in a warning that config_* is > > deprecated and advise the use of ifconfig_* or ipconfig_* depending on > > which interface handler is being used. Then, at some point in the > > future, remove support for config_*. > > > > Does anyone have any thoughts? > > William, > > isn't that the whole point of the "modules" variable in the config file? > One of the first things I do when configuring a new system is to edit > /etc/conf.d/net and I start by adding modules="iproute2" to it.
I'm not sure I follow. would you rather keep the config_* variable? If so, how do you feel about requiring the syntax of the variable to match the tool you are using? That would mean that the following snippets would not work: modules="iproute2" config_iface="x.x.x.x netmask y.y.y.y broadcast z.z.z.z" # the above is using ifconfig syntax with the iproute2 module modules="ifconfig" config_iface="x.x.x.x/y broadcast z.z.z.z" # This is using iproute2 syntax with the ifconfig module. William
pgpc9m2Bhx9FA.pgp
Description: PGP signature
