<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 6:28 PM, Daryl McDonald <span dir="ltr"><<a href="mailto:darylangela@gmail.com" target="_blank">darylangela@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">
<div><div class="h5">On Thu, Sep 5, 2013 at 6:23 PM, Roger Siddons <span dir="ltr"><<a href="mailto:dizygotheca@ntlworld.com" target="_blank">dizygotheca@ntlworld.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><u></u>
<div><div><div>On Thu, 05 Sep 2013 23:12:14 +0100, Daryl McDonald <<a href="mailto:darylangela@gmail.com" target="_blank">darylangela@gmail.com</a>> wrote:<br><br><blockquote style="margin:0px 0px 0.8ex;border-left-color:rgb(0,0,255);border-left-width:2px;border-left-style:solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 6:00 PM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On 09/05/2013 04:51 PM, Mark Perkins wrote:<br>
> I did get asked for the password however.<br>
> Daryl I'm not real knowledgeable about these things but if you did get asked for a password then that probably<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
indicates a problem with your sudoers file / setup. I think when the script runs you won't get the prompt for the password when that line is<br>
executed (I assume because it is mid execution of the script) so it automatically fails hence why Bill put the emphasis on the password aspect<br>
of testing that command line. I assume sudoers needs to be set to overcome this exact failure type.<br>
</blockquote></div>
...<br>
<br>
Just bad instructions on my part. The 1st sudo will prompt for a password.<br>
The 2nd didn't (the test sudoers part.) Sorry for the confusion.<div><div><br>
<br>
-- <br>
Bill<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a></div></div></blockquote><div><br></div><div> <a href="http://paste.ubuntu.com/6068212/" target="_blank">http://paste.ubuntu.com/6068212/</a></div>
<div><br></div><div>Here it is,Daryl</div></div><br></div></div>
</blockquote></div></div><div>Looks ok but I'm guessing you cut & pasted it from Stefan's email and may have corrupt characters (Tab/newline etc) in it.</div><div><br></div><div>That's also the version intended for Mythwelcome, which I believe sets the time in a different manner/format (via mythshutdown). Harmless but explains Bill's earlier comment about it not actually doing anything.</div>
<div><br></div><div>I suggest you recreate the file by cut & paste from the wiki <a href="http://www.mythtv.org/wiki/ACPI_Wakeup#Integrate_into_MythTV" target="_blank">http://www.mythtv.org/wiki/ACPI_Wakeup#Integrate_into_MythTV</a></div>
<div>Remember to make it executable ("sudo chmod +x setwakeup.sh")</div><div><br></div><br><br></div><br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a></blockquote><div><br></div></div></div><div>I had the script you're recommending in there the first time, does it take into account that I need my time converted to UTC, from local? I can see the conversion part in the one from Stefan.</div>
<span class=""><font color="#888888">
<div><br></div><div>Daryl</div></font></span></div></div></div></blockquote><div><br></div><div> <a href="http://paste.ubuntu.com/6068277/">http://paste.ubuntu.com/6068277/</a></div><div><br></div><div>How does it look now? I'm still wondering about the local time/UTC time issue.</div>
</div><br></div></div>