:: Re: [DNG] How to deploy an init.d s…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: info at smallinnovations dot nl
日付:  
To: dng
題目: Re: [DNG] How to deploy an init.d script to Devuan 2.0 (ASCII)
On 11-04-19 11:29, Steffen Dettmer via Dng wrote:
> On Wed, Apr 10, 2019 at 6:54 PM Steffen Dettmer
> <steffen.dettmer@???> wrote:
>> /etc/rc2.d/S03ccucvm_startup_script
>>
>>    (pointing to ../init.d/ccucvm_startup_script),

>>
>> [...] my script is not executed.
> I investigated further and I noticed that there are hidden files
> like "/etc/init.d/.depend-start" that seem to be used instead of
> the rc?.d/S?? links. I'm still looking for its documentation, but
> reading the script /etc/init.d/rc fortunately revealed a simple
> workaround:
>
> touch /etc/init.d/.legacy-bootordering
>
> I have no clue why the main mechanism is defined in hidden files,
> but I think it makes no sense to file a bug?
>
> Steffen


For a better understanding of init scripts take a look at
https://www.linuxnix.com/write-sysvinit-scripts/

Grtz.

Nick