Here is my script, from memory you may need to do something like edit
sudoers or similar. it was a long time ago.


r...@atv1:/usr/local/sbin# cat reboot.sh
#!/bin/sh
/sbin/reboot


best regards

Lee McLaren





On Nov 13, 8:58 am, Richard Nelson <[email protected]> wrote:
> I've got things just about the way I want with the exception of
> getting this script working. I cut and pasted from Jarod Wilson's
> page, chmod + the script in /usr/local/bin, and have a button set up
> in my Harmony remote to call the script. No joy. If I 'irexec' in
> terminal and push my button I get no response. Here is the entry in
> lircrc:
> begin
> remote = /etc/lirc/lircd.conf
> prog = irexec
> button = Stop
> config = /usr/local/bin/mythpowerbutton.sh
> repeat = 5
> delay = 0
> end
> My lircd.conf:
>  begin codes
>           Exit                     0x9B0A
>           Stop                     0x9705
>           Aspect                   0x9D0A
>           Up                       0x960B
>           Down                     0x960D
>           Left                     0x9608
>           Right                    0x9607
>           CH+                      0x9E0A
>           CH-                      0x9E0C
>           Play                     0x9703
>           Pause                    0x9803
>           OK                       0x9604
>       end codes
> All other buttons work. irw sees the key press. I've got this script
> working in my BE/FE machine, but for some reason I'm unable to get it
> to work on he atv. Running 9.04
> Thanks for a great hack!
> Richard

-- 
To post to this group, send email to [email protected]
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en

Reply via email to