Nathan Coulson wrote:
> On Tue, Jan 22, 2013 at 2:22 PM, Thomas de Roo <tho...@de-roo.org> wrote:

> If we use #!/bin/sh, then we should be compatible with sh.

I've pretty much come to that conclusion.  The only question is whether 
dash == sh.

> If we do want to use bash syntax, we should be using #!/bin/bash
>
> I opted to keep #!/bin/sh in the bootscripts originally, as there was
> minimal benefit to breaking compatibility with sh at the time.   Also
> used to use ash/dash as /bin/sh, but I had not been testing that
> configuration for a few years.
>
> Anyway, the two options I put forward, are to use #!/bin/bash in the
> bootscripts, or fix compatibility with dash.

The potential problem with using bash is compatibility with non-LFS/BLFS 
scripts.

   -- Bruce




-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to