[mythtv-users] Start FE from SSH

James Armstrong james at thearmstrongs.org
Wed Mar 28 16:36:12 UTC 2007


>
> Why not setup irexec and the powerbutton on your remote to launch the
> frontend for you?
>
> from my .lircrc
> ###########################################
> # Start Myth
> begin
> prog = irexec
> button = POWER
> config = /usr/local/pvr/mythpowerbutton.sh
> end'
>
>
> contents of /usr/local/pvr/mythpowerbutton.sh
> ###########################################
> if !(ps -ef | grep mythfrontend | grep -v grep); then
>
>         /usr/bin/mythfrontend&
>
> else
>         killall -9 mythfrontend
>
>
> fi
>
>   
Does this still work when using the compile flag for mythfrontend to use 
lirc directly?

- James



More information about the mythtv-users mailing list