rebooting after successful update

I am using this script to check for updates

/system package update
check-for-updates once
:delay 1s;
:if ( [get status] = "New version is available") do={ install }

and I’ve also set autoupgrade

/system routerboard settings
set auto-upgrade=yes

but it needs a further reboot for the new firmware to become the current one.
Can this be done automatically? Maybe creating a flag after a successful update, which triggers the reboot, or creating a script like the first one which checks if the current and upgrade firmware are not the same..

I got to this which is scheduled a few minutes after the one checking for updates

/system routerboard
:if ( [get current-firmware] != [get upgrade-firmware] ) do={ /system reboot }

Is the most stupid thing you can do: update routerboard just when new release go out…

He does not seems to have read post here on the forum the latest week , or even before that as well.

What do you mean ..

To clarify, I am on Long term updates. Normally one should check out versions he updates to, but long term seem to be ok

Read this thread about 6.45.5 Long Term update (on going problem).
http://forum.mikrotik.com/t/v6-48-5-long-term-is-released/152469/1
And this is not the first time some break after a new version is released.

Never ever would I do auto upgrade. Always test on a local non production device of same type. Then if all is OK, update your router(s).

Point taken. I will reconsider it, although my configuration isnt very demanding

Ok, the point is: there is no software in the world secure enough to install it as soon as it is published.