Jon Kunze wrote:

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] <mailto:[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


Make sure the button entry is has the same name as your power button as detailed in your lirc.conf
My power button is listed as "Power" not "OFF"
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to