RMS connection unsuccesful after device reboot

Could you please try wrapping the script in parentheses and adding an & sign at the end? This will force the process to run in the background, allowing the system to finish starting up and connect to RMS.
It should look like this:

It seems the current script causes the device’s boot sequence to hang. Adding the & sign starts the process in the background, which should resolve the issue.

Best Regards,
Justinas