From: Ned Ludd <solar@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Cc: Roy Marples <uberlord@gentoo.org>
Subject: Re: [gentoo-embedded] init.d scripts and bash
Date: Thu, 08 Mar 2007 16:00:50 -0800 [thread overview]
Message-ID: <1173398450.31695.26.camel@onyx.private.gni.com> (raw)
In-Reply-To: <1173369604.5480.20.camel@localhost>
On Thu, 2007-03-08 at 17:00 +0100, Natanael Copa wrote:
> Hi,
>
> Are there anybody more than me that use the gentoo init.d scripts
> without using bash?
>
> Most init.d scripts runs just fine with a small runscript wrapper. A few
> needs patching to work, typically replacing:
>
> [[ expr || expr ]]
>
> with:
>
> [[ expr ]] || [[ expr ]]
>
> But sometimes arrays and such are used (very often its easy to work
> around)
>
> Are there any hope for setting a gentoo policy that says bash specific
> things should be avoided if possible in init.d scripts?
That is a goal with baselayout-2. I'd be interested if we started a
tracker bug for such things. I think policy might be a bit far
reaching at this point. But it's for sure a worthwhile goal.
--
Ned Ludd <solar@gentoo.org>
Gentoo Linux
--
gentoo-embedded@gentoo.org mailing list
next prev parent reply other threads:[~2007-03-09 0:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-08 16:00 [gentoo-embedded] init.d scripts and bash Natanael Copa
2007-03-09 0:00 ` Ned Ludd [this message]
[not found] ` <20070309073937.154cff79@uberpc.marples.name>
2007-03-09 9:08 ` Ned Ludd
2007-03-09 10:06 ` Natanael Copa
2007-03-09 11:51 ` Natanael Copa
[not found] ` <20070309115825.52cd9d73@uberlaptop>
2007-03-09 12:58 ` Natanael Copa
[not found] ` <20070309142717.6373940c@uberlaptop.development.ltl>
2007-03-09 15:12 ` Natanael Copa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1173398450.31695.26.camel@onyx.private.gni.com \
--to=solar@gentoo.org \
--cc=gentoo-embedded@lists.gentoo.org \
--cc=uberlord@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox