Thanks, this made it work!
If network delay wasn’t successful, I’d have tried editing
/usr/lib/systemd/system/kodi-autostart.service.
This line
ConditionPathExists=/storage/.config/autostart.sh
be used to wait for a USB storage, like
ConditionPathExists=/var/media/USBHDD/recordings
Unfortunately the file can’t be saved:
[ File ‘/usr/lib/systemd/system/kodi-autostart.service’ is unwritable ]
The best solution would be to just make the addons wait for the storage.
Anybody knows how to do this?