[mythtv-users] Slightly OT: can't get power button script to
restart front end (From Jarod's guide)
Neil Bird
neil at fnxweb.com
Thu Nov 3 09:22:27 EST 2005
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
##begin
##prog = mythtv
##button = OFF
##config = Esc
##end
begin
prog = irexec
button = OFF
repeat = 4
config = /usr/local/bin/mythpowerbutton.sh
end
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
More information about the mythtv-users
mailing list