Thanks for the feedback so far.
Everything I want to have integrated is in the folders which are also backed up by the LibreELEC plugin:
And yes, it's more than wifi credentials, but not that much:
- connman config
- LCDd config for patched lcdproc
- scripts for RemotePi Board
- modified addon script.xbmc.lcdproc and config
- kodi config
What I tried is patching
LibreELEC.tv/userconfig.service at ce890b1f04c0932f3d9912eaaf5fab237f6fd38f · LibreELEC/LibreELEC.tv · GitHub
to copy files not only to .config but to all the folders mentioned above. I think this is was vpeter mentioned.
It seems not to be a really clean solution for me, but it works.
Another option would be using the already integrated backup functionality in an automated way.
LibreELEC.tv/init at 79dc62da2c3aaa260b9c3b02782d6901ee1d2ba4 · LibreELEC/LibreELEC.tv · GitHub
But the init script searches in /storage/.restore (which is not easily accessible besides during operation).
Of course going to the LibreELEC GUI and restoring a backup is not a big deal, but why doing things manually in such an environment.
I will have a look at this soon.