On Tue, Apr 26, 2011 at 12:59 AM, Tom Gundersen <[email protected]> wrote:
> On Mon, Apr 25, 2011 at 12:03 AM, Sebastien Luttringer <[email protected]> 
> wrote:
>> diff --git a/rc b/rc
>> index 1e64119..9889d1e 100755
>> --- a/rc
>> +++ b/rc
>> @@ -43,8 +43,14 @@ case $1 in
>>        *)
>>                action=$1
>>                shift
>> +               # set same environment variables as init
>> +               runlevel=$(/sbin/runlevel)
>> +               ENV="PATH='/bin:/usr/bin:/sbin:/usr/sbin'"
>
> I believe we already overwrite PATH in rc.sysinit, so I guess the two
> should match?

daemons are executed in rc.multi, not rc.sysinit. PATH setted by init
is not modified in this one.

Cheers,


-- 
Sébastien Luttringer
www.seblu.net

Reply via email to