[mythtv-users] Carbon Footprint
Stephen Worthington
stephen_agent at jsw.gen.nz
Thu Aug 29 14:27:55 UTC 2013
On Thu, 29 Aug 2013 10:10:48 -0400, you wrote:
>If I understand correctly, logging off, instead of powering off will allow
>myth to power off the box and thereby enable powering on for recordings
>when set up properly.
>But I've hit a brick wall before I get that far, I'm following the how-to
> for setting the alarm when clock is in RTC, I've swapped the ">" command
>for ">." and even prefaced with "sudo" and still permission is denied. What
>have I missed?
>
>daryl at daryl-A780L3C:~$ SECS=`date -u --date "2013-08-29 10:15:00" +%s`
>daryl at daryl-A780L3C:~$ echo 0 >.; /sys/class/rtc/rtc0/wakealarm
That should be:
echo 0 >/sys/class/rtc/rtc0/wakealarm
>bash: .: Is a directory
>bash: /sys/class/rtc/rtc0/wakealarm: Permission denied
>daryl at daryl-A780L3C:~$ sudo echo 0 >.; /sys/class/rtc/rtc0/wakealarm
sudo echo 0 >/sys/class/rtc/rtc0/wakealarm
>bash: .: Is a directory
>bash: /sys/class/rtc/rtc0/wakealarm: Permission denied
>daryl at daryl-A780L3C:~$
>
>Daryl
As Chris Porter said, the > on that web page is html for a >
character - it looks like the HTML editing software used to create the
page put it in automatically instead of the correct > character in the
examples, so wherever you see those characters in bash scripts inside
the boxes on that page, replace all 4 characters with one single >
character to get the correct syntax.
More information about the mythtv-users
mailing list