Re: /bin/sh vs. /bin/bash
On: 27 Aug 1998 19:02:43 +0200 Torsten Hilbrich writes:
>
> On: Wed, 26 Aug 1998 15:18:36 -0400 Shaleh writes:
>>
>> Yes, if it calls sh, it should only use sh features. Report a bug.
>> Please show which line fails and if possible a way to make it sh
>> compliant. I use ash as my /bin/sh w/o a hitch. apt has a small
>> bug that is only cosmetic.
>
> The problem is the line:
>
> . $i start
>
> in the /etc/init.d/rcS file.
>
> The . command in the ash do not support command line options to the
> called script (Does anyone have the Posix standard for the bourne
> shell handy?)
>
> Torsten
>
> BTW: I will report a bug after checking the lastest sysvinit.
I just checked it and it seems they already changed it (in version
2.75-3) [#22965: rcS is not sh independent]
set start
. $i
Note the using of the set command. I will install the new version and
recheck it.
Torsten
Reply to: