[mythtv-users] Carbon Footprint

Roger Siddons dizygotheca at ntlworld.com
Fri Sep 6 00:10:00 UTC 2013


On Fri, 06 Sep 2013 00:35:56 +0100, Daryl McDonald <darylangela at gmail.com>  
wrote:

>
> 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?
>
> #!/bin/sh
> #$1 is the first argument to the script. It is the time in seconds since  
> 1970
> #this is defined in mythtv-setup with the time_t argument
>
> echo 0 > /sys/class/rtc/rtc0/wakealarm      #this clears your alarm.
> echo $1 > /sys/class/rtc/rtc0/wakealarm     #this writes your alarm
>
> cat /proc/driver/rtc > /tmp/rtc
> cat /sys/class/rtc/rtc0/wakealarm >> /tmp/rtc
> echo "Argument 1 = $1, SECS = $SECS" >> /tmp/rtc
>
> Daryl
>
No, add them to the end of your current version.
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.

I think MythWelcome passes an argument of "2013-09-05T17:00:00". In that  
case the numbers will be different (?)

It's too late here now for me to think about it clearly. Good luck.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130906/215601a5/attachment.html>


More information about the mythtv-users mailing list