I sort of missed this conversation, so apologies in advance if this
has already been covered, but wanted to say that gentoo's initscripts
are generally not suited for embedded systems.

So making baselayout busybox-compatible doesn't seem to be worth the
disruption and headaches it would cause. It would be disruptive for
gentoo developers who would need to be extra-careful in maintaining
their initscripts to ensure busybox compatibility. Not to mention the
potential disruption for users.

If you are building an embedded system using busybox, then generally
you will want a single /etc/init.d/rcS script that starts all the
stuff you need.

-Daniel

On 2/8/07, Mike Frysinger <[EMAIL PROTECTED]> wrote:
On Thursday 08 February 2007, Roy Marples wrote:
> Mike Frysinger <[EMAIL PROTECTED]> wrote:
> > On Wednesday 07 February 2007, Roy Marples wrote:
> > > In the current code I'm running it's only the network stuff that
> > > uses arrays. If you're thinking about /sbin/functions.sh, well that
> > > can stay as bash as it's not used by baselayout anymore.
> >
> > some init.d scripts use arrays as well
>
> Do we know which ones?

grep for it :p
netmount for sure right now

> The actual scripts themselves can be re-worked if they need to be -
> this problem only when the arrays are used in config files.

i guess my point was i think we really need to be consistent here ... either
arrays are OK for init.d scripts or they're not OK

did you get a chance to see how hard it would be to integrate the bash array
code ?
-mike


--
gentoo-dev@gentoo.org mailing list

Reply via email to