:: Re: [DNG] rc.local removed from Deb…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: John Hughes
Date:  
À: dng
Sujet: Re: [DNG] rc.local removed from Debian 9, rly?
On 21/11/17 14:54, Rowland Penny wrote:
> On Tue, 21 Nov 2017 14:48:49 +0100
> John Hughes <john@???> wrote:
>
>> No, no systemctl commands are needed, systemd-rc-local-generator will
>> enable rc-local.service if /etc/rc.local is executable, which it is
>> by default on Debian Stretch (AKA Debian 9).
>>
> Yes, but will 'systemd-rc-local-generator' exist on a Devuan OS where
> no systemd components are loaded by default ??


Obviously not.

But what does that have to do with the price of eggs in China?  If
you're using sysvinit instead of systemd then, on a Debian 9 system
/etc/init.d/rc.local will run /etc/rc.local.  (How this works for other
init systems is left as an exercise for the implementer).