Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] init.d scripts and bash
Date: Thu, 08 Mar 2007 16:02:03
Message-Id: 1173369604.5480.20.camel@localhost
1 Hi,
2
3 Are there anybody more than me that use the gentoo init.d scripts
4 without using bash?
5
6 Most init.d scripts runs just fine with a small runscript wrapper. A few
7 needs patching to work, typically replacing:
8
9 [[ expr || expr ]]
10
11 with:
12
13 [[ expr ]] || [[ expr ]]
14
15 But sometimes arrays and such are used (very often its easy to work
16 around)
17
18 Are there any hope for setting a gentoo policy that says bash specific
19 things should be avoided if possible in init.d scripts?
20
21 Natanael Copa
22
23 --
24 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] init.d scripts and bash Ned Ludd <solar@g.o>