Apparent bash-ism in bootscripts

Ken Moffat ken at kenmoffat.uklinux.net
Wed Jan 28 13:49:52 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
-- 
This is a job for Riviera Kid!



More information about the lfs-dev mailing list