Gentoo Archives: gentoo-dev

From: "Raúl Porcel" <armin76@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New network config for baselayout-ng
Date: Wed, 07 Feb 2007 16:48:54
Message-Id: 45CA021A.5070500@gentoo.org
In Reply to: [gentoo-dev] New network config for baselayout-ng by Roy Marples
1 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 > Now that's out of the way, let's discuss configuration :)
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 > You could even use bash expansion here, provided that bash is your shell
14 > config_eth0="10.1.1.{1..30}/8; 192.168.0.1 netmask 255.255.255.0"
15 >
16 > See, that's not too bad is it?
17 >
18 > Thanks
19 >
20 > Roy
21 >
22 Uberlord++
23 --
24 gentoo-dev@g.o mailing list