Posts by soder

    Those systemctl command is run only once. After reboot shares will always be mounted.

    OOOOh. Cool. It works. I didn't need to move them to system.d, but could run them from /storage/.config

    But, now when I did a 'reboot' from ssh, I got the same failure as before, but only for /var/media/hdd5. It even happen when I do a reboot from within Kodi sometimes...
    EDIT:(Now on update, and the reboot that follows that, even more hdd's failed unmounting..

    Also, what happens if I boot up LibreELEC and the networks drive is offline? Are the folders there then, but with no content?

    /Söder
    [hr]
    Looks like there's is a problem. Or, is this a complete different thing?

    LibreELEC
    systemd: Do not unmount /storage and /flash at shutdown as this always fails by MilhouseVH · Pull Request #546 · LibreELEC/LibreELEC.tv · GitHub

    Looks like my problem wasn't about how I had did my mounts...

    /Söder

    Yes

    What about stuff like "mkdir -p /media/hdd1/"? I needed create these folder with my other method. What about now?

    And, what shall my user and password be, if I used it like this before?mount -t cifs -o username=user,rw //192.168.0.103/hdd1 /media/hdd1/

    Where shall these .mount files be, and how do I get them to mount automatic?

    /Söder


    Little more info would be nice. Like photo of the tv. And correct autostart.sh

    I will get a photo of the TV later..

    This is my autostart.. #!/bin/sh #start IRexec/usr/bin/irexec -d /storage/.config/.lircrc #hdd1 mount#/storage/.config/mount_hdd1.sh #nas mount( sleep 15 /storage/.config/mount_nas.sh)& #ftp mounts( sleep 20 /storage/.config/mount_ftp.sh)&

    And this is the mount_nas.sh
    #nas mountsmkdir -p /media/hdd1/mkdir -p /media/hdd2/mkdir -p /media/hdd3/mkdir -p /media/hdd4/mkdir -p /media/hdd5/mkdir -p /media/hdd6/mount -t cifs -o username=user,rw //192.168.0.103/hdd1 /media/hdd1/mount -t cifs -o username=user,rw //192.168.0.103/hdd2 /media/hdd2/mount -t cifs -o username=user,rw //192.168.0.103/hdd3 /media/hdd3/mount -t cifs -o username=user,rw //192.168.0.103/hdd4 /media/hdd4/mount -t cifs -o username=user,rw //192.168.0.188/disk1 /media/hdd5/mount -t cifs -o username=user,rw //192.168.0.188/disk2 /media/hdd6/

    Sorry for format of the scripts...


    /Söder
    [hr]
    Here's some bad pictures of the TV.

    KKwhsGT.jpg
    A2g5kPl.jpg
    MWL4Hr1.jpg

    It's all the It's most of the hdd1-hdd6 that fails.

    BUT, I just saw, that the reboot goes through anyway. Now, when I was writing this post, and not pulling the power cord on the NUC, I saw Kodi boot up again... But it takes like 2 minutes..

    But still, there's something wrong, isn't it?

    /Söder

    I updated my OpelELEC to LibreELEC and most of it works great.
    I use a NUC, and I mount some external disks from the network with a script at autostart.

    Code
    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
    span.s1 {font-variant-ligatures: no-common-ligatures}#nas mountsmkdir -p /media/hdd1/mkdir -p /media/hdd2/mkdir -p /media/hdd3/mkdir -p /media/hdd4/mkdir -p /media/hdd5/mkdir -p /media/hdd6/mount -t cifs -o username=user,rw //192.168.0.103/hdd1 /media/hdd1/mount -t cifs -o username=user,rw //192.168.0.103/hdd2 /media/hdd2/mount -t cifs -o username=user,rw //192.168.0.103/hdd3 /media/hdd3/mount -t cifs -o username=user,rw //192.168.0.103/hdd4 /media/hdd4/mount -t cifs -o username=user,rw //192.168.0.188/disk1 /media/hdd5/mount -t cifs -o username=user,rw //192.168.0.188/disk2 /media/hdd6/


    That works great, but the problem is when I reboot. Even if I reboot from Kodi, or via SSH with "reboot", I get a screen on the TV with some OK's, but some failer messages about problem unmounting some of the disk.

    I've never seen this problem before, and I wonder if someone can help me with something I can do to try to solve this problem..

    Thanks.

    /Söder

    I hope someone can help me with answers to these questions that I have, during my future switch to LE from OE.

    1. I know there are differences with LE and OE regarding repositories and add-ons, but I used some add-on in OE I do not want to be without. What about support for:


    I think there will be more questions about this, but I hope someone will try to help me...

    /Söder


    You would add this for all noobs like me :)
    Download zip file and in libreelec (kodi) install addon from zip file.

    I'm on an older version of OE, and I thinking of switching to LE. But since I use Transmission on OE, and LE does not support these kind of addons (out of the box), it's been holding me back.

    This trick described in your posts, is it to "fool" the addon to be able to get installed on LE instead? I've got an addon called Automatic that I've compiled myself a couple of years ago, that I like, but I don't think I know how to compile again. Will it also work to install in about the same way as Transmission?

    /Söder