[arch-projects] [INITSCRIPTS][PATCH] rc cleaning run rc.d scripts
seblu at seblu.net
Tue Apr 26 02:06:37 EDT 2011
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.
More information about the arch-projects