Customizable script on power off?
Re: Customizable script on power off?
And I could use it to send IR signal to my amplifier to power off. This would be nice feature indeed.
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: Customizable script on power off?
It's possible I think but, Instead it's easy to use ping to detect if TV is open or not...
Re: Customizable script on power off?
Hi,
I think it's possible to add an extra line to the rc.local script that runs exeDSP.
Just add an extra call to a poweroff script after exeDSP exits. It should have features to prevent system reboots or halts, but otherwise I think you can do whatever you like in it. It will mean an extra flash of your firmware, and probably a short name for your script, depending on the free space in the image file.
HTH,
marcelr
I think it's possible to add an extra line to the rc.local script that runs exeDSP.
Just add an extra call to a poweroff script after exeDSP exits. It should have features to prevent system reboots or halts, but otherwise I think you can do whatever you like in it. It will mean an extra flash of your firmware, and probably a short name for your script, depending on the free space in the image file.
HTH,
marcelr