On Sun, Nov 19, 2017 at 08:32:07PM +0100, Arnt Karlsen wrote:
> On Sun, 19 Nov 2017 18:52:13 +0100, Didier wrote in message 
> <[email protected]>:
> 
> > Le 19/11/2017 à 15:10, Jaromil a écrit :
> > > hi all
> > >
> > > Can anyone clarify how /etc/rc.local is being removed in Debian 9?
> > > 
> > 
> >      Dunno how difficult it is to re-create rc.local functionality
> > under Systemd dictature, but, when init is sysvinit, this doesn't
> > look like a diffcult problem. Therefore, don't care (-:
> > 
> >          Didier
> 
> ..looks like we are _the_ /etc/rc.local back-up distro. ;o)
> 
> ..I did a wee razzia, it's been quietly gone for quite a while, 
> maybe since the 2014 systemd coup in Debian:

My /etc/rc.local has been around for a long time, has survived the 
trip from Debian jessie to Devuan jessie, and consists entirely of 
commands I put there myself and comments of unknown origin.

Here are the comments:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

They do indeed look as if the originated in a Linux distribution 
sometime in the past, which would have been Debian, sonce I' ws using 
this before the switch to Devuan.

So there has been a change if /etc/rc.local is no longer provided by 
the distro.

Not providing it makes sense, because then an upgrade won't be 
asking whether to replace the modified one with the new one.

-- hendrik
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to