[mythtv-users] execute command before shutdown the frontend

Josu Lazkano josu.lazkano at gmail.com
Sun Aug 25 18:47:45 UTC 2013


Hello, I try to add a script in /etc/rc0.d/ and /etc/rd6.d/ with
irsend command. The commands works great if a execute it. But it
doesn't work in /etc/rdX.d/

I get it working with a script in the "Shutdown/Reboot Settings":

#!/bin/bash

/usr/bin/remote1.sh 1 kdl32 STANDBY
sudo /sbin/halt
exit 0

Thanks!

-- 
Josu Lazkano


More information about the mythtv-users mailing list