Hi List As some of you may be aware, I've started work on baselayout-2 which is basically re-tooling it in C. One of the side goals is to eliminate the need for using bash. You'll be pleased to know that it's working well enough to boot Gentoo/FreeBSD.
Now, this email isn't about the merits of bash, nor the fact that it's in base system profile so we can use it anyway, blah blah blah. embedded has a vested interest in not using bash and I have a personal interest as Gentoo/FreeBSD on Sparc64 takes a very long time to boot. This email is about network configuration. Before I joined Gentoo, network configuration was done in bash arrays like so (note, that the variable name was changed in baselayout-1.11) ifconfig_eth0=( "10.1.1.1 netmask 255.255.255.0" "10.1.1.2 netmask 255.255.255.0" ) This is all well and good, but only bash and zsh can use it. Infact I'm guilty as I embraced arrays and used them as the basis for our entire network scripts. They have also served us well, but as they are also array based they will have to be re-written too. So, to free baselayout of forcing bash down our throats I/we am/are looking at re-writing our network setup, including configuration. Who's got any bright ideas for a new config then? Lets brain storm! Thanks Roy -- gentoo-dev@gentoo.org mailing list