[ Added bug back to thread. Hope you do not object. ]

[2019-02-26 18:42] Pierre Ynard <linkfa...@yahoo.fr>
> part       text/plain                 908
> > -#
> > -# Create /etc/rc.local on first time install and when upgrading from
> > -# versions before "2.86.ds1-16"
> > -#
> > -if dpkg --compare-versions "$PREV_VER" lt "2.86.ds1-16"
> > -then
> > -    if [ ! -e /etc/rc.local ]; then
> > -        cat << EOF > /etc/rc.local
> > -#!/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.
> > -
> > -[ -d /etc/boot.d ] && run-parts /etc/boot.d
> > -
> > -exit 0
> > -EOF
> > -        # make sure it's enabled by default.
> > -        chmod 755 /etc/rc.local
> > -    fi
> > -fi
>
> No more /etc/rc.local? I don't understand what else would install the
> file on new systems.

Good catch. Actually, I do not understand, how did it appear on my
rather recent installation.

> Could it be made a conffile?

Definitely. Could you please file a seperate bug about it?
-- 
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --

Reply via email to