[mythtv-users] Recording failure.

Jan Ceuleers jan.ceuleers at gmail.com
Fri Jan 18 15:19:53 UTC 2019


On 18/01/2019 05:17, Stephen Worthington wrote:
> The biggest problem with using re.local is that any command that fails
> instantly terminates rc.local - no further commands are executed.  So
> doing a series of commands as you are in rc.local is not a good idea.
> It is much better to get rc.local to run a separate script.  So you
> would put your commands in a script such as
> /usr/local/bin/start-hdhrs.sh, and then run that from rc.local like
> this:

A simpler solution, if rc.local's termination behaviour is not desired,
is to change it. Simply remove the "-e" from the first line in the
script so that /bin/sh is not called with the -e parameter.


More information about the mythtv-users mailing list