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