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 <[EMAIL PROTECTED]> Gentoo Linux -- [email protected] mailing list
