recliq wrote:...and I hope the reason you are trying this is not for the scripts you posted above because that would be complete nonsense...
(enable eiri to catch press of POWER button to start a script that sends POWER button keypress)

The reason I'm trying to do this is for discrete on and off codes for my home theater (the subject of this thread).
I did enable eiri to catch two power signals from an old dvd player remote I had. That is where the two numbers came from at the end of my eiri file.
The two sh files were simply copied from this forum.
The eiri file I created is a result of following instructions here (Step #4). I added the two additional poweron and poweroff routines at the end of the file found on the wiki. If that is in correct, please tell me what to do instead.
Obviously I understood correctly that eiri must be on to capture the codes, but my question was do I leave it on. According to mad_ady it sounds like I should leave it on in order to use my programmable remote, however it does not work.