[mythtv-users] execute command before shutdown the frontend

Raymond Wagner raymond at wagnerrp.com
Sun Aug 25 17:05:52 UTC 2013


On 8/25/2013 1:03 PM, Josu Lazkano wrote:
> 2013/8/25 Raymond Wagner <raymond at wagnerrp.com>:
>> On 8/25/2013 12:23 PM, Josu Lazkano wrote:
>>>
>>> Hello, I want to execute a command before mythtv shutdown.
>>>
>>> I want to send a irsend command to the TV to shutdown.
>>>
>>> Is it possible to configure it in the mythfrontend configuration? Or
>>> need I configure this out of mythtv?
>>
>>
>> Assuming your TV won't pick up on the signal from the graphics card saying
>> it is offline, and shut down itself, the easiest option will just be to
>> stuff a line early on in your shutdown scripts.
>
> Thanks Raymond, I don't use any script to shutdown.
>
> I just go back in the frontend and select "Yes, Exit and Shutdown".

Of course you do. I'm sure there's a whole ton of them in /etc/init.d/ 
(unless those fancy new init systems have moved them elsewhere). See if 
there's an empty file named "local.stop".


More information about the mythtv-users mailing list