Posts by pimp1310

    You can delay when autostart.sh runs, but you cannot control when it finishes or the sequence with Kodi start.

    If you move commands to a systemd .service file in /storage/.config/system.d/ you can control the sequencing, e.g.

    I won't guarantee this ^ will work as I'm no systemd expert, but "After=network-online.target nss-lookup.target" ensures the network is up, and then "WantedBy=multi-user.target" ensures it runs before Kodi startup.

    thx for the reply.

    is this on only libreelec kompatible?

    i want to use this on my firetv too.

    there i only can use the autostart file (autoexec.py) of Kodi, is this in the "autoexec.py" compatible?

    HELLO,


    i use libreelec for my kodi setup.

    i create a epg file and changed the autostart.sh as follow :

    Code
    wget http://XXXX:XXXXX@XXXXX/guide-zatoo.xml -O /storage/.kodi/userdata/guide-zatoo.xml

    i download a 20MB file for my EPG on autostart, but i had the problem its to slow for the autostart, i tested it with a 9MB file that works great.

    Kodi checks on startup is the file "guide-zatoo.xml" available, and the pvr addon use it.

    can i make a sleep or wait or something of 10 seconds, that he can download the file and then kodi starts?


    THX

    first thank you for your reply !!


    second :) i doesnt have the file unter this folder, i ohne had "openvpn.service.sample", do you mean this ?


    and i dont had this file openvpn.config in the folder...

    1) Edit /storage/.config/openvpn.config to the .config/.conf/.ovpn file
    # from your VPN service provider and test it works first by connecting at
    # the console:
    #

    hello,


    i tried to make thats my libreelec aktivates vpn on boot. when i start it manuall it works (until one error) but when i boot he makes nothing.....
    i use libreelec on my normal pc hadrdware, the generetic build.

    i made a autostart.sh with this code :

    Code
    (
    openvpn /storage/.kodi/userdata/addon_data/service.vpn.manager/UserDefined/boot.ovpn ;
    sleep 10; \
    ) &


    the problem is by this code i get a error when i start it manuall , but it starts.

    Code
    : not foundonfig/autostart.sh: line 4:


    any ideas whats wrong with my code? and why he doesnt start it by booting ?

    thx