Web lists-archives.com

Re: reboot stuff doesn't start

On Mon, May 27, 2019 at 12:11:29PM +0300, Reco wrote:
> On Sun, May 26, 2019 at 05:45:56PM -0400, Gene Heskett wrote:
> > root@coyote:GenesAmandaHelper-0.61$ cat /etc/rc.local
> > #!/bin/sh -e
> Any execution error will terminate the script.

The blame is on Debian for that one.  That's what Debian put in the
default /etc/rc.local file in every release up to jessie.  (They "fixed"
this in stretch by not having a default /etc/rc.local file at all, but
if you upgraded to stretch, you still have the old default file.)

Debian's policy for developers is to use -e with all shell scripts
(horrible!), but inflicting that same policy on end users is not wise.