<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Tue, 5 Feb 2019 15:08 Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I do not know of any way for Linux to know that it has had a power<br>
failure or similar bad shutdown. <br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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. </div><div dir="auto"><br></div><div dir="auto">Cheers, Ian</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>