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