I have searched this forum for similar questions and saw that you can upgrade the modem to a desired firmware version by using the command sysupgrade RUTX_R_00.02.06.1_WEBUI.bin.
You can restore a config file by using sysupgrade -r backup.tar.gz
The question I now have is how to incorporate these commands correctly in Task Manager so that the first command (sysupgrade RUTX_R_00.02.06.1_WEBUI.bin) is executed. The Task Manager should then wait until the modem has booted up and then run the second command (sysupgrade -r backup.tar.gz). The Task Manager will then wait until the modem has rebooted and execute the last series of commands.
So my question is about incorporating the waiting time until the modem is rebooted, is this possible and how?