ATX raspi on openelec kodi [solved]

Started by Plugandplay, June 17, 2015, 03:23:17 PM

Plugandplay

Hi There,

I've used an atx raspi for powering my raspberry pi for a while now. I'm in the process of building a nice enclosure for my other pi that runs openelec kodi and is connected to my TV. I was going to use the switch and atxraspi for it but when I tried to run the sudo wget command there was an error to do with not being able to connect to the https. I have no Linux knowledge whatsoever but after a bit of thinking and googeling I used the nano command and copied and pasted the script, saved and executed with bash.
Problem now is the openelec file system being read only...
Is there a way (that can be followed by a complete novice in Linux) to run this script?

Looking forward to your replies☺

Cheers

mheyman

Did you ever find a solution for this? I am using Lakka which is also OpenElec and I got the read only error too.

zoomzoomluke

One solution on OpenElec is to convert the script into a Kodi Service Add-on. Shouldn't take very long, I'm still waiting on my ATXRaspi so I can't test it but once it turns up i'll make the Add-on if no one else has done it yet.


arjanv

Hi,

anyone has this working on openelec?

thanks

chunkysteveo

Works on OSMC without any issue..?

arjanv


Felix

#7
FYI it looks like for openelect things that should run at startup should go in /storage/.config/autostart.sh
See this page for details: http://wiki.openelec.tv/index.php/Autostart.sh
I guess this would be the equivalent to /etc/rc.local on debian distros

Felix

! UPDATE !

I have successfully created a script that works for OpenElec/Kodi, it is tested and works the same as on raspbian.
The install instructions for OpenElec are now posted on this page: http://lowpowerlab.com/atxraspi/#installation
Please use the latest script at the link above, not the one attached here earlier.
Sorry for not having done this earlier guys.