Autostart.sh

From OpenELEC
Jump to: navigation, search

autostart.sh is run on system startup. It can be used to run commands before XBMC/Kodi starts.

To create an autostart.sh file you will need SSH access.

Via ssh execute the following command.

echo "#!/bin/sh" > /storage/.config/autostart.sh && chmod +x /storage/.config/autostart.sh

After this an autostart.sh file will be available via the configfiles samba share. You can edit the file there or you can continue on via nano.

nano /storage/.config/autostart.sh
Personal tools
Namespaces
Variants
Actions
Donate
Navigation
Wiki help
Toolbox