Hi, this is related to a post in the legato forum
[Legato Forum Topic LInk](https://forum.legato.io/t/help-startlegato-sh-dissappeards-from-etc-init-d/5926/11), but I am wondering if this is related the HW (or rather flash write cycle limit) on the FX30, which you might know more about.
But basically I have a script that on start up replace the startlegato.sh (not a good design which I will improve… but I have many modems in the field with this set up).
In certain circumstances the modem could reboot every 5mins… cause many writes to /etc/init.d
I get the following error message when trying to copy the file in using cp
input/output error linux
And then with dsmeg I see the following error in towards the end of the log
aufs au_lkup_dentry:223:chmod: I/O Error, both of real entry and whiteout found, startlegato.sh, err -5
I am not linux expect, so need to assisstance… Please
a) Any ideas what can cause this (considering my setup)
b) how to prevent it
c) how to recover from it.