Re: reboot stuff doesn't start
On Tue, May 28, 2019 at 01:23:45PM -0400, Gene Heskett wrote:
> > End users can remove that '-e' flag if they believe it's problematic.
> > rc.local is a simple shell script, open to all kinds of abuse
> > including this one.
> I assume the -e is a bash option?
Any POSIX-compliant shell knows about '-e', bash included.
Your own rc.local has this shebang: #!/bin/sh -e
> I just rescanned the man page without
> find a reference other than a test for file -e=exists filename.
dash(1) references it. bash(1) lists '-e' as an option to "set" command.
> It is in the shebang line, so what does that do when its in that
-e Exit immediately if a pipeline (which may consist of a single
simple command), a list, or a compound command (see SHELL GRAMMAR
above), exits with a non-zero status.