[mythtv-users] MythTV Status in your MOTD (and email) - Version 0.6.2

Andrew Ruthven andrew at etc.gen.nz
Mon Jan 7 17:57:46 UTC 2008


Hi Marc,

On Sun, 2008-01-06 at 22:47 -0500, Marc wrote:
> > 
> > Andrew,
> > The patch worked and it made sense. The user I logged in with on the
> > remote
> > backend/frontend system did not have a mysql.txt file setup which is
> > why it
> > was unable to connect to the API. Once I logged in as mythuser it
> > worked
> > fine.

Excellent, I'll commit it and it'll be in the next release.  Sorry about
the confusion there.
 
> > I am using the tarball on a Gentoo system. I modified the mythtv-
> > update-motd
> > file to use the /etc/motd. However I did not have a motd file to begin
> > with
> > so nothing happened. I attempted to add the line to the motd manually
> > and I
> > guess I did it wrong. Your install procedure doesn't work on my
> > machine.
> > When I run it I get
> > ./mythtv-update-motd: line 3: /etc/default/mythtv-status: No such file
> > or
> > directory

> > I copied the file to that location manually and then rerun the setup
> > and get
> > mythuser at asgard /root/mythtv-status-0.6.2/bin $ ./mythtv-update-motd
> > /etc/default/mythtv-status: line 11: use: command not found
[snip]

Ah ha, the reason for this is /etc/default/mythtv-status is a config
file for the cronjob tool.  Try removing everything
from /etc/default/mythtv-status and replacing it with:

RUN=yes
HOST=niflheim

> Yeah responding to myself..
> I figured out the colors. 

Excellent.

> I added the "/etc/default/mythtv-status -h niflheim" to the motd file
> directly. I know I did it wrong. Just need to know how to do it right.

Cool, yeah, you don't need it in there.  The motd is just a static file,
it doesn't get run.

Cheers and good luck!

-- 
Andrew Ruthven
Wellington, New Zealand
At home: andrew at etc.gen.nz       |  This space intentionally
                                 |        left blank.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20080108/5875fffe/attachment.pgp 


More information about the mythtv-users mailing list