Gentoo Archives: gentoo-dev

From: Francesco Riosa <vivo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Network configuration and bash
Date: Wed, 07 Feb 2007 12:51:29
Message-Id: 45C9CAB0.5010101@gentoo.org
In Reply to: [gentoo-dev] Network configuration and bash by Roy Marples
1 Roy Marples ha scritto:
2 > Hi List
3 >
4 > As some of you may be aware, I've started work on baselayout-2 which is
5 > basically re-tooling it in C. One of the side goals is to eliminate the
6 > need for using bash. You'll be pleased to know that it's working well
7 > enough to boot Gentoo/FreeBSD.
8 >
9 [...]
10
11 what about to keep compatibility with at least this form:
12 ifconfig_eth0=(
13 "10.1.1.{1,2} netmask 255.255.255.0"
14 )
15
16 and maybe hooks to external code to be executed
17 {pre,post}ip_link_set
18 {pre,post}ip_addr_{add,del}
19 etc...
20
21 A fast look at Bash code show that i should be maintenable
22
23 ~/tmp/bash-3.2 $ wc braces.* array*
24 630 2208 14019 braces.c
25 932 2843 19720 array.c
26 111 498 3817 array.h
27 837 2896 20407 arrayfunc.c
28 58 300 2289 arrayfunc.h
29 2568 8745 60252 total
30
31 Regards,
32 Francesco
33 --
34 gentoo-dev@g.o mailing list