On Wed, 2007-02-07 at 13:16 +0000, Roy Marples wrote: > OK, so everyone wants to keep their conf.d/net in bash. Fine by me. > > Welcome to baselayout-ng which will be a virtual and will not require > bash.
Good. Maybe now we can get rid of the pretty much non functional baselayout-lite which basically only every provided an /etc/inittab and made a few device nods. > Now that's out of the way, let's discuss configuration :) > > We still need something that is "array like" for want of a better > phrase, so how about delimiting using ; like so > config_eth0="10.1.1.1 netmask 255.255.255.0; 10.1.1.2/24" The ; seems logical. > > You could even use bash expansion here, provided that bash is your shell > config_eth0="10.1.1.{1..30}/8; 192.168.0.1 netmask 255.255.255.0" > > See, that's not too bad is it? Nope. > Thanks > > Roy -- Ned Ludd <[EMAIL PROTECTED]> Gentoo Linux -- gentoo-dev@gentoo.org mailing list