I have a Raspberry B+
Code: Select all
Raspbian GNU/Linux 8
Linux raspberrypi 4.4.21+ #911 Thu Sep 15 14:17:52 BST 2016 armv6l GNU/LinuxI tried make a script to change the "ENABLE" paramet in /etc/defualt/kodi when the raspberry is boot but I have not got it.
Using tvservice -M, I can know when the wire is connect/disconnect to Raspberry but i cant execute kodi with this.
My intention is:
Plug the USB in raspberry to supply
(raspberry boot)
IF hdmi wire is connected -> execute KODI
ELSE -> execute rtorrent.
Some idea?
Thanks in advance.
Regards