21.04.2014 15:44, Dmitrii Kashin пишет:
> Hleb Valoshka <375...@gmail.com> writes:
> 
>> On 4/20/14, Dmitrii Kashin <free...@freehck.ru> wrote:
>>>>> обескураживает меня тем, что по умолчанию, оказывается, он только на
>>>>> runlevel S вызывается.
>>>>>
>>>>> С чем это связано? Мне казалось, что неплохо бы его поместить и на
>>>>> остальные.
>>>>
>>>> А разве S не предшествует уровню 2?
>>>
>>> "Runlevels 0, 6 and S are reserved for shutdown, reboot and single user
>>> mode respectively" [1]
>>>
>>> Я так понимаю, что на этот уровень мы попадаем, когда подаём ядру опцию
>>> single.
>>
>> cat /etc/rcS.d/README
>>
>> The scripts in this directory whose names begin with an 'S' are
>> executed once when booting the system, even when booting directly into
>> single user mode.
> 
> Да, это похоже на правду. Обнаружил схожие записи в
> debian-reference[1]. Спасибо.
"Зри в корень!" Смотреть надо в  /etc/inittab

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS




-- 
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/535630ca.8090...@nskes.ru

Ответить