[mythtv-commits] mythtv commit: r7392 - in trunk/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Oct 5 13:48:48 UTC 2005


      Author: danielk
        Date: 2005-10-05 13:48:47 +0000 (Wed, 05 Oct 2005)
New Revision: 7392
   Changeset: http://cvs.mythtv.org/trac/changeset/7392

Modified:

   trunk/mythtv/docs/mythtv-HOWTO.sgml
   trunk/mythtv/setup/backendsettings.cpp
   trunk/mythtv/setup/backendsettings.h
   trunk/mythtv/setup/main.cpp

Log:

Condenses the two questions in when you start-up mythtv-setup
onto one dialog. This also removes the warning in the howto
and replaces it with a check for a running mythbackend on
startup. If it is seen running locally, a warning about what
isn't safe while the backend is running is added to this
initial dialog.

The check for mythbackend is very simple, it just runs
"ps -ae | grep mythbackend". So if you rename the backend
executanble it won't detect the backend. It also won't dedect
a master backend running on a different host, etc. It just
catches the common case.

"ps -ae" works for me on Linux, IRIX and Solaris. But I don't
have a BSD to test. I know "ps -aex" doesn't work on Solaris.
If the check fails you only miss this informative message.






More information about the mythtv-commits mailing list