SVN: rc-scripts/trunk/rc.d: Makefile.am rc.init

Patryk Zawadzki patrys w pld-linux.org
Pon, 23 Lis 2009, 01:05:03 CET


2009/11/22 Bartosz Świątek <shadzik w gmail.com>:
> W dniu 22 listopada 2009 22:34 użytkownik Zbyniu Krzystolik
> <zbyniu w geocarbon.pl> napisał:
>> glen wrote:
>>> Author: glen
>>> Date: Sun Nov 22 10:19:31 2009
>>> New Revision: 10992
>>>
>>> Removed:
>>>    rc-scripts/trunk/rc.d/rc.init
>>> Modified:
>>>    rc-scripts/trunk/rc.d/Makefile.am
>>> Log:
>>> - rc.init does not seem to be used anywhere; remove it
>
> Yep, let's just remove all those used rc.d files...
>
>>
>> It is. Since 1999/09/02.
>
> Zbyniu's right. It's sure is used!
>
> Proof?
>
> [root w atwa ~]# LANG=C grep -Er 'rc\.init' /sbin
> Binary file /sbin/init matches
> Binary file /sbin/telinit matches
>
> It's used by init, it's even in comments.

# LANG=C grep -Er 'rc\.init' /sbin
#

It's not used by upstart¹, that's probably why glen thought it was unused.

¹ Exported env variables are useless for a monitored parallel startup
as for security reasons all processes get a clean well-defined
environment.

-- 
Patryk Zawadzki


Więcej informacji o liście dyskusyjnej pld-devel-pl