:: Re: [DNG] rc.local removed from Deb…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: KatolaZ
Datum:  
To: dng
Betreff: Re: [DNG] rc.local removed from Debian 9, rly?
On Tue, Nov 21, 2017 at 03:47:26PM -0500, Steve Litt wrote:
> On Tue, 21 Nov 2017 14:53:28 +0000
> KatolaZ <katolaz@???> wrote:
>
> > As Olaf explained, the problem seems to originate in the fact that the
> > initscripts package is not any more marked as important. Hence, if you
> > don't have it, you won't get it by default. I personally agree on the
> > fact that this is somehow a regression.
>
> If this is in any way a regression, or in fact if it's at all likely to
> provide unexpected behavior or breakage for Devuan users, why not do
> the following within the installation script:
>
> if test -f /etc/rc.local; then 
>   echo '#!/bin/sh -e' > /etc/rc.local
>   echo 'exit 0' > /etc/rc.local
> fi
> # CREATE syvinit-style /etc/init.d/S99zz_rclocal
> #     with its start case running /etc/rc.local
> # Use sysvinit style daemon controllers (update-rc.d I suspect)
> #     to create the necessary level symlinks

>



It's already there, in initscripts.postinst :)

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]