Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New network config for baselayout-ng
Date: Fri, 09 Feb 2007 09:07:01
Message-Id: 45CC388E.9010700@gentoo.org
In Reply to: Re: [gentoo-dev] New network config for baselayout-ng by Mike Frysinger
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

Attachments

File name MIME type
signature.asc application/pgp-signature