<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 29, 2014 at 9:41 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"><span class="">On 10/27/2014 06:56 PM, Daryl McDonald wrote:<br>
...<br>
</span><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">
After "sudo visudo" the last few lines of that page are:<span class=""><br>
<br>
# Allow members of group sudo to execute any command<br>
%sudo ALL=(ALL:ALL) ALL<br>
<br>
# See sudoers(5) for more information on "#include" directives:<br>
<br>
#includedir /etc/sudoers.d<br>
<br>
%mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh<br>
<br>
And this from: ls -al /usr/bin/setwakeup.sh<br>
-rwxr-xr-x 1 root root 1221 Oct 16 17:46 /usr/bin/setwakeup.sh<br>
</span></blockquote>
<br>
Looks OK, but I'd put the MythTV addition in /etc/sudoers.d/mythtv<br>
so the if /etc/sudoers ever gets updated by a package manager (it<br>
happens), your solution won't go away. I'm surprised you don't<br>
have that file already, make sure it's not there and overriding<br>
anything.<br>
<br>
In your original post for this topic, you referred to a file<br>
named: /var/log/mythtv/<u></u>hwclockrebootTime.log. Is that where<br>
/usr/bin/setwakeup.sh writes it's output?<br>
<br>
Not sure this is still an open issue.<div class=""><div class="h5"><br>
<br>
-- <br>
Bill<br>
______________________________<u></u>_________________<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/<u></u>listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/<u></u>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a></div></div></blockquote><div><br></div><div>Yes, I'm still booting manually. Thanks for checking Bill.</div><div><br></div><div>I've got a problem getting the Mythtv addition into /etc/sudoers.d/mythtv. If I rename the file after creating it with sudo visudo, I get into a syntax error loop, of sorts. this may be caused by my trying to first create it with gksudo gedit, and the only way I could get out of sudo visudo was to delete other attempts (different file names). If this isn't clear its because my own recollection is fuzzy as it is now about a week old. (too many commits, or something)</div><div><br></div><div>echo $1 > /sys/class/rtc/rtc0/wakealarm #this writes your alarm <This line from the setwakeup.sh indicates no? I simply came across "hwclockrebootTime.log" while looking at the BE and FE logs and scratched my head. Daryl<br></div></div><br></div></div>