...
Adding an automatic reboot to the UMS profile ensures the correct application of the settings from the profile to the device.
To trigger the automatic reboot when the profile is applied to the device:
In the UMS profile go to System > Firmware Customization > Custom Commands > Desktop. For more on custom commands, see
...
Add the following as a Final desktop command:
if [ ! -f /wfs/.one_more_reboot_done ] ; then touch /wfs/.one_more_reboot_done ; systemctl reboot ; fi
Save the profile.