

Now the firmware version of the device (bootloader) is always the same as the RouterOS version, and I don’t have to spend time manually updating the firmware. :if ( != ) do=" policy=reboot,read,write,policy start-time=startup Menu - Script Data Name: AutoUpgradeFirmware This script should run as soon as the device boots, so we create the script in the task scheduler, not in the script store. ✏️ Note: check that after the specified pause time before the script starts, the Internet will really have time to connect or increase the delay before the script runs. If the versions do not match, the MikroTik device downloads the updated version of the RouterBOARD firmware and reboots the device after installing the new firmware version. The used RouterBOARD firmware version ( current-firmware) and the RouterBOARD version offered for upgrade ( upgrade-firmware) are compared. The script runs 3 minutes later (180 seconds delay) after booting the MikroTik device.


🇫🇷 MikroTik Scripts: Mise à jour automatique du micrologiciel RouterBOARD.🇪🇸 Scripts de MikroTik: actualización automática del firmware de RouterBOARD.I wrote a script to automate this process.

Previously, I had to manually upgrade the RouterBOARD bootloader version, after updating the RouterOS version, this required additional time and attention when there were a lot of MikroTik devices. Script to automatically upgrade the firmware (bootloader) of MikroTik after updating the version of RouterOS, to match the version of MikroTik RouterOS and the RouterBOARD bootloader.
