I have this

begin
prog = irexec
button = OFF
repeat = 4
config = /usr/local/bin/mythpowerbutton.sh
end

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 <[EMAIL PROTECTED]> 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
##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

--
[EMAIL PROTECTED] ~]# rm -f .signature
[EMAIL PROTECTED] ~]# ls -l .signature
ls: .signature: No such file or directory
[EMAIL PROTECTED] ~]# exit


_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to