However, you previously mentioned the fact that the error only happens occasionally - this incorrect unpacking of the archive. That it only happens sometimes. And it confused me. I don't know exactly why it should only work randomly.
It is also possible that the files are overwritten by the "Jedi EPG Xtream" plugin itself. So in that case, it doesn't make sense to rewrite the files through your shell script.
Alternatively, it would be safer to stop the Enigma2 as first (init 4 command). Then make changes in the plugin files as you need. And only then start Enigma2 again (init 3 command).
However, if you want to turn off Enigma2 at night, you must take care to switch to standby mode again after restarting Enigma2... for example:
Code: Alles auswählen
sleep 40; wget -q -O - http://127.0.0.1/api/powerstate?newstate=5 > /dev/null 2>&1