<!DOCTYPE html><html><head>
<style type="text/css">body { font-family:'DejaVu Sans'; font-size:13px}</style>
</head>
<body>On Fri, 06 Sep 2013 00:35:56 +0100, Daryl McDonald <darylangela@gmail.com> wrote:<br><br><blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div>If I'm not mistaken, I can keep the system from shutting down by leaving the FE up. To further clarify, Bill, are you suggesting I use the earlier "setwakeup.sh" from the wiki and add the three lines so it would look like the following? Instead of the one more suited to Mythwelcome?</div>
<div><br></div><div> #!/bin/sh</div><div>#$1 is the first argument to the script. It is the time in seconds since 1970</div><div>#this is defined in mythtv-setup with the time_t argument</div><div><br></div><div>echo 0 > /sys/class/rtc/rtc0/wakealarm #this clears your alarm.</div>
<div>echo $1 > /sys/class/rtc/rtc0/wakealarm #this writes your alarm</div><div><br></div><div><div>cat /proc/driver/rtc > /tmp/rtc</div><div>cat /sys/class/rtc/rtc0/wakealarm >> /tmp/rtc</div><div>echo "Argument 1 = $1, SECS = $SECS" >> /tmp/rtc</div>
</div><div><br></div><div>Daryl</div></div><br></div></div>
</blockquote><div>No, add them to the end of your current version. </div><div>We think the 2 numbers it'll log at the end will always be the same, demonstrating that the UTC flag is irrelevant in this case.<br></div><div><br></div><div>I think MythWelcome passes an argument of "2013-09-05T17:00:00". In that case the numbers will be different (?)</div><div><br></div><div>It's too late here now for me to think about it clearly. Good luck.</div><div><br></div><div>Incidentally, your BE log showed the checklogin script did work sometimes, but it's unclear at what point you changed it & what else was going on at the time. If you get back to that, it would be interesting to see the results of the command "last" in a terminal whilst you're waiting for it to shut down.</div><div><br></div></body></html>