1 |
On Wed, 2007-02-07 at 13:16 +0000, Roy Marples wrote: |
2 |
> OK, so everyone wants to keep their conf.d/net in bash. Fine by me. |
3 |
> |
4 |
> Welcome to baselayout-ng which will be a virtual and will not require |
5 |
> bash. |
6 |
|
7 |
Good. Maybe now we can get rid of the pretty much non functional |
8 |
baselayout-lite which basically only every provided an /etc/inittab and |
9 |
made a few device nods. |
10 |
|
11 |
> Now that's out of the way, let's discuss configuration :) |
12 |
> |
13 |
> We still need something that is "array like" for want of a better |
14 |
> phrase, so how about delimiting using ; like so |
15 |
> config_eth0="10.1.1.1 netmask 255.255.255.0; 10.1.1.2/24" |
16 |
|
17 |
The ; seems logical. |
18 |
|
19 |
> |
20 |
> You could even use bash expansion here, provided that bash is your shell |
21 |
> config_eth0="10.1.1.{1..30}/8; 192.168.0.1 netmask 255.255.255.0" |
22 |
> |
23 |
> See, that's not too bad is it? |
24 |
|
25 |
Nope. |
26 |
|
27 |
> Thanks |
28 |
> |
29 |
> Roy |
30 |
-- |
31 |
Ned Ludd <solar@g.o> |
32 |
Gentoo Linux |
33 |
|
34 |
-- |
35 |
gentoo-dev@g.o mailing list |