[mythtv-users] Replacing the Power Button with a Lock and Key

Dave Walker DaveWalker at ubuntu.com
Thu Jun 21 20:24:41 UTC 2007


On Thu, 2007-06-21 at 14:35 -0500, Paul wrote:
> Maybe not what you are looking for but there is a script that is run
> (I don't remember what/where it is off the top of my head) that is run
> when the power button is pressed. I rewrote mine to put an exit in the
> top so it does nothing. The wife kept pushing the power button to turn
> on myth when it was already on and would shut it down in the process.
> This worked great to solve the problem (At least the one i had). 
> 
> On 6/21/07, joe.white at wachovia.com <joe.white at wachovia.com> wrote:
>         
>         I am looking for a lock to replace the power/reset button on
>         my mythbox.  Does anyone have one, and if so can they tell me
>         where they got it? 
>         
>         jw



Backup and then edit "/etc/acpi/powerbtn.sh".  This script will normally
fire when the button is pushed.  Obviously if the button is held (>4
sec) it will still force an aggressive shutdown.



More information about the mythtv-users mailing list