2015-10-25, 10:38
Hi,
i have a kodibuntu and a raspberry pi for a hyperion ambilight. Currently i'll have to ssh into the raspberry to shut it down. While this is not a problem for me, my wife needs an easier option. So what i want to achieve is that if she is selecting menu -> shutdown from within kodi, it should run a script which logs into the raspberry and runs a shutdown command.
Question:
Is there an option to modify XBMC.ShutDown() in a way that it runs a script, or is it better to just provide a script in /etc/init.d and link it to /etc/rcx.d ?
Thanks,
nailz
i have a kodibuntu and a raspberry pi for a hyperion ambilight. Currently i'll have to ssh into the raspberry to shut it down. While this is not a problem for me, my wife needs an easier option. So what i want to achieve is that if she is selecting menu -> shutdown from within kodi, it should run a script which logs into the raspberry and runs a shutdown command.
Question:
Is there an option to modify XBMC.ShutDown() in a way that it runs a script, or is it better to just provide a script in /etc/init.d and link it to /etc/rcx.d ?
Thanks,
nailz