[arch-projects] [INITSCRIPTS][PATCH] rc cleaning run rc.d scripts
teg at jklm.no
Tue Apr 26 06:17:41 EDT 2011
On Tue, Apr 26, 2011 at 8:06 AM, Seblu <seblu at seblu.net> wrote:
> On Tue, Apr 26, 2011 at 12:59 AM, Tom Gundersen <teg at jklm.no> wrote:
>> On Mon, Apr 25, 2011 at 12:03 AM, Sebastien Luttringer <seblu at seblu.net> wrote:
>>> diff --git a/rc b/rc
>>> index 1e64119..9889d1e 100755
>>> --- a/rc
>>> +++ b/rc
>>> @@ -43,8 +43,14 @@ case $1 in
>>> + # 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.
Ah, of course, you are right. I'll pull this one.
More information about the arch-projects