Delay before start kodi

  • Hey,

    cause of an new power plug i need to start kodi delayed for maybe 150 seconds. For that i had edited the autostart.sh file as follows:

    Code
    (
    sleep 150;
    echo none > /sys/class/leds/blue\:heartbeat/trigger;
    ) &

    But this dont work for me, it seems like it ignores the sleep command. The blue flashing light on my odroid stops flashing and kodi starts. Now my WLAN repeater isnt booted but the lan connection from repeater to kodi is established. Maybe someone has an idea, on raspbian there is an delay option for config.txt but i dont know if there is something like that in libreelec.

  • With ()& you put commands in separate process and main script continues to run (and kodi starts as before).

    That's why remove ()& and use only sleep and echo lines.