[mythtv-users] Slightly OT: can't get power button script to
restart front end (From Jarod's guide)
jon99ut at gmail.com
Thu Nov 3 11:40:25 EST 2005
I have this
prog = irexec
button = OFF
repeat = 4
config = /usr/local/bin/mythpowerbutton.sh
Assigned to my power button, just the same as Jarod's guide, and yet when I
press the button, it doesn't shutdown mythfrontend, nor does it restart it
if it has crashed. Hence my tring to execute it manually.
On 11/3/05, Neil Bird <neil at fnxweb.com> wrote:
> Around about 03/11/05 12:35, Jon Kunze typed ...
> > $irexec /usr/local/bin/mythpowerbutton.sh
> > That is when i get the error on line 2 (or atleast I assume the :2 means
> > that the error is on line two.
> irxec takes a config. file, not an executable argument (man irexec).
> You want 'irexec --daemon' with the following somewhere in your ~/.lircrc:
> # Power Off/Exit
> ##prog = mythtv
> ##button = OFF
> ##config = Esc
> prog = irexec
> button = OFF
> repeat = 4
> config = /usr/local/bin/mythpowerbutton.sh
> Ref. http://wilsonet.com/mythtv/tips.php
> [neil at fnx ~]# rm -f .signature
> [neil at fnx ~]# ls -l .signature
> ls: .signature: No such file or directory
> [neil at fnx ~]# exit
> mythtv-users mailing list
> mythtv-users at mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users