1 |
Roy Marples wrote: |
2 |
> This email is about network configuration. Before I joined Gentoo, |
3 |
> network configuration was done in bash arrays like so (note, that the |
4 |
> variable name was changed in baselayout-1.11) |
5 |
> |
6 |
> ifconfig_eth0=( |
7 |
> "10.1.1.1 netmask 255.255.255.0" |
8 |
> "10.1.1.2 netmask 255.255.255.0" |
9 |
> ) |
10 |
> |
11 |
> This is all well and good, but only bash and zsh can use it. Infact I'm |
12 |
> guilty as I embraced arrays and used them as the basis for our entire |
13 |
> network scripts. They have also served us well, but as they are also |
14 |
> array based they will have to be re-written too. |
15 |
> |
16 |
> So, to free baselayout of forcing bash down our throats I/we am/are |
17 |
> looking at re-writing our network setup, including configuration. |
18 |
> |
19 |
How about leaving baselayout depending on bash and make baselayout-lite |
20 |
do whatever you want instead? |
21 |
Such an upgrade will be a major pita for our entire user base, unless of |
22 |
course you make conf.d/net syntax transition as easy as running |
23 |
dispatch-conf. |