Apparent bash-ism in bootscripts

Jeroen Coumans jeroen at linuxfromscratch.org
Wed Jan 28 13:22:27 PST 2004


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.

-- 
Jeroen Coumans (jeroen at linuxfromscratch.org)
FAQ and Website Maintainer
{faq,website}@linuxfromscratch.org
www.jeroencoumans.nl





More information about the lfs-dev mailing list