[mythtv-users] Auto poweroff an idle front-end?

George Nassas gnassas at mac.com
Tue Apr 9 17:49:25 UTC 2013


On 2013-04-09, at 12:22 PM, Michelle Dupuis wrote:

> Ok...I've got something working


For something a little less verbose take what I posted previously and make it a one liner:

[ -z $(curl -s http://localhost:6547/Frontend/GetStatus | grep '<Key>currentlocation</Key><Value>standbymode</Value>') ] || shutdown -h now

- George

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130409/4b027bbf/attachment.html>


More information about the mythtv-users mailing list