1 |
Mike Frysinger wrote: |
2 |
> On Wednesday 07 February 2007, Roy Marples wrote: |
3 |
>> We still need something that is "array like" for want of a better |
4 |
>> phrase, so how about delimiting using ; like so |
5 |
>> config_eth0="10.1.1.1 netmask 255.255.255.0; 10.1.1.2/24" |
6 |
> |
7 |
> if you want to allow one liners, then i dont see any other real option ... the |
8 |
> semicolon is prob about the best/only choice i'd think |
9 |
> |
10 |
> if you want to force newlines as the delimiter, then the new format would |
11 |
> pretty closely resemble the existing array layout ... |
12 |
> config_eth0=" |
13 |
> 10.1.1.1 netmask 255.255.255.0 |
14 |
> 10.1.1.2/24 |
15 |
> " |
16 |
|
17 |
Even more so if you ignored any parenthesis by itself ... wonder how |
18 |
much work it would really be to retain (almost) all of the config file |
19 |
compat while making the backend pure sh. |
20 |
|
21 |
Thanks, |
22 |
Donnie |