Gentoo Archives: gentoo-dev

From: Patrick McLean <chutzpah@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New network config for baselayout-ng
Date: Wed, 07 Feb 2007 14:50:27
Message-Id: 45C9E685.4090305@gentoo.org
In Reply to: [gentoo-dev] New network config for baselayout-ng by Roy Marples
1 Roy Marples wrote:
2 > Welcome to baselayout-ng which will be a virtual and will not require
3 > bash.
4
5 So this means that you are planning to stop development of the current
6 baselayout in favor of baselayout-ng?
7
8 >
9 > We still need something that is "array like" for want of a better
10 > phrase, so how about delimiting using ; like so
11 > config_eth0="10.1.1.1 netmask 255.255.255.0; 10.1.1.2/24"
12 >
13
14 Couldn't you use the current config on bash shells and parse it to
15 something like that on non-bash. There is no reason why the shell needs
16 to source the config file, it could be parsed just as easily, and
17 writing the parser shouldn't be too hard with a bit of sed magic.
18 --
19 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] New network config for baselayout-ng Francesco Riosa <vivo@g.o>
Re: [gentoo-dev] New network config for baselayout-ng Roy Marples <uberlord@g.o>