:: Re: [DNG] How to deploy an init.d s…
Top Pagina
Delete this message
Reply to this message
Auteur: info at smallinnovations dot nl
Datum:  
Aan: dng
Onderwerp: 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