Apparent bash-ism in bootscripts

Nathan Coulson conathan at conet.dyndns.org
Tue Jan 27 15:43:22 PST 2004


> On Wed, 28 Jan 2004, Jeroen Coumans wrote:
>
>> On Wed, 2004-01-28 at 21:38, Ken Moffat wrote:
>> > I've just started trying out ash as /bin/sh, because my reading of
>> BLFS
>> > said it was Bourne shell compliant.  Pain with
>> > /etc/sysconfig/network-devices/if{down,up} which call /bin/sh instead
>> of
>> > /bin/bash ('source' isn't understood).  Should I file a bug, or am I
>> > misunderstanding what a real Bourne shell can and can't do ?
>>
>> File a bug. The bootscripts should be usable in any /bin/sh, or use
>> #!/bin/bash. IIRC some already made them ash-compatible some time ago.
>>
>>
>
>  That's what I guessed, but I figured it would be best to ask first.
> All of the main LFS scripts already use /bin/bash.  Will do so once I've
> dug out my bz login.
>
> Ken

Just for your own information, we [lfs-bootscript team] are currently
working on rewriting the bootscripts.  We were going to make them ash
compliant [note, I haven't talked to the rest of the team about this yet,
but I personally dont think they'll object].



More information about the lfs-dev mailing list