After copying another payload to payload.sh (cp some_other_payload.sh payload.sh) and rebooting the Shark Jack, the led is blinking red which means: "Error - no payload found". This has happened before and reinstalling the latest firmware did solve the issue back then but as I have quite some additional packages installed like: nano, curl, llpdp bind-*, openssl etc. and also installed a couple of lookup files e.g. for arp-scan, it is not convenient to run into this blinking red situation over and over again.
Are there others facing similar issues and is there a quick fix to get the issue solved?
Note: in my main payload script I am running a background task which syncs the filesystem every 5 seconds, could this be the root cause for the issue?
function SYNC_FS() {
while true; do
sync
sleep 5
done
}
SYNC_FS &
Thanks in advance.