Like I said, I explored single file and script update module.
Both works great. But Im not able to fill in a “sudo reboot” script to the device without getting a 100% successful deployment. Its just “sudo reboot” in the bash script, maybe thats why it isnt deployed succesfully.
So, the script gets deployed to device and it reboots the device but deploys logs stucks at 70 % only in the mender server. Could you help me with a proper reboot script which support mender way.