> Is it possible that bash isn't available yet?
> Perhaps some lib not on /?
No, all bash libs are available on the root FS. They kind of have
to be, as bash *is* /bin/sh...
Bill
___
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://www.redhat.
Jonathan Bartlett wrote:
The reason that normal startup scripts don't, is that there's no guarantee
/bin/sh will point to bash, or even that bash is installed.
If you want to use bash, the first line should be /bin/bash instead of
/bin/sh, so it's obvious it needs bash specifically.
Is it possibl
On Sun, 28 Sep 2003, Jonathan Bartlett wrote:
> The reason that normal startup scripts don't, is that there's no guarantee
> /bin/sh will point to bash, or even that bash is installed.
Have you tried to install RHL sans bash? Thought not.
RH _can_ make that guarantee.
--
Please, reply only to
also you would wanna add requires: bash for initscripts rpm.
not sure how portable initscripts package was designed to be, would anyone
ever use it outside redhat? if not making a commitment to bash could be
reasonable.
just my .02
v
On Sun, 28 Sep 2003, Jonathan Bartlett wrote:
> The reason t
The reason that normal startup scripts don't, is that there's no guarantee
/bin/sh will point to bash, or even that bash is installed.
If you want to use bash, the first line should be /bin/bash instead of
/bin/sh, so it's obvious it needs bash specifically.
Jon
On Sun, 28 Sep 2003, [iso-8859-1]
On Sunday, Sep 28th 2003 at 14:31 +0100, quoth Manoj Kumar:
=>Is there any reason not to use bash features in init
=>scripts?
=>Consider, for example, this fragment from
=>/etc/sysconfig/network-scripts/ifup-post:
=>
=>DEVICETYPE=`echo $DEVICE | sed "s/[0-9]*$//"`
=>REALDEVICE=`echo $DEVIC
Is there any reason not to use bash features in init
scripts?
Consider, for example, this fragment from
/etc/sysconfig/network-scripts/ifup-post:
DEVICETYPE=`echo $DEVICE | sed "s/[0-9]*$//"`
REALDEVICE=`echo $DEVICE | sed 's/:.*//g'`
if echo $DEVICE | grep -q ':' ; then
ISALIA