Hello,
I’m newbie to OSMC and I want ask following:
Long time I used openelec, where I copied into “/storage/.config/” file autostart.sh with following text
#!/bin/bash
# Exports pin to userspace
echo "17" > /sys/class/gpio/export
# Sets pin 17 as an output
echo "out" > /sys/class/gpio/gpio17/direction
# Sets pin 17 to high
echo "1" > /sys/class/gpio/gpio17/value
but where to copy in OSMC or where place text from autostart.sh ?
Thank you for your help
Hi, thank you, but rc.local I can’t modify, no permision (I’m logged via winscp as root).
I also checked wiki, but I can’t understand where copy my file or where to place.
Alex
login as: osmc
osmc@192.168.1.111's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jul 5 21:52:58 2017 from 192.168.1.105
Updating APT cache. Please be patient.
apt-get update was unsuccessful. If you are planning to install a package, please run apt-get update first and verify it was successful
osmc@osmc:~$ cd /home/osmc
osmc@osmc:~$ mkdir scripts
mkdir: cannot create directory 'scripts': No space left on device
osmc@osmc:~$
Finally I was able do it as is in the wiki. I also used bigger sdcard.
Install I did from downloaded image.
What I like is that osmc is much faster then openelec.