[mythtv-users] Carbon Footprint

Daryl McDonald darylangela at gmail.com
Fri Sep 6 00:53:20 UTC 2013


On Thu, Sep 5, 2013 at 8:10 PM, Roger Siddons <dizygotheca at ntlworld.com>wrote:

> **
> 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.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users


OK done, how does it look?  http://paste.ubuntu.com/6068605/

Daryl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130905/bb71a169/attachment.html>


More information about the mythtv-users mailing list