[mythtv-users] delaying mythbackend startup until a STB is available
mkbloke at gmail.com
Tue Feb 5 10:17:20 UTC 2019
On Tue, 5 Feb 2019 15:08 Stephen Worthington <stephen_agent at jsw.gen.nz
> I do not know of any way for Linux to know that it has had a power
> failure or similar bad shutdown.
You could script it, maybe touch a file on successful shutdown in non
volatile storage, perhaps by modifying the backend unit file. On startup,
if file exists, shutdown was clean, delete the file and carry on. If the
file does not exist, sleep for x time and then carry on.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users