[mythtv-users] Scripting help -- check whether mythfrontend is running or not

chris at cpr.homelinux.net chris at cpr.homelinux.net
Tue Nov 22 08:52:53 EST 2005


On Mon, Nov 21, 2005 at 08:03:43PM -0800, Daniel Segel wrote:
> This will kill mythfrontend if it's running, or start it if it's not:

He didn't want to kill/start frontend (or at least that's not what he
asked for).  He just wanted certain keys deactivated when the frontend
was running.

The easiest way to do that would be to use a wrapper script that swaps
the lircd config files when the frontend is started/stopped so that lirc
would ignore the unwanted keys when myth is active.  That assumes you
can find a way to make sure myth is not started directly, bypassing the
script.

-- 
Joke template: Three guys walk into a bar. One of them is a wee bit
stupid, and the whole scene unfolds with a tedious inevitability.


More information about the mythtv-users mailing list