Add a couple of script to check and / or alert upon new ROS version and LTE firmware

This commit is contained in:
Pothi Kalimuthu 2021-12-24 10:52:14 +05:30
parent 55320e161e
commit 77c3a09a13
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,10 @@
# Using: https://wiki.mikrotik.com/wiki/Manual:Upgrading_RouterOS#RouterOS_auto-upgrade
:global emailAddress "noreply@example.com";
/system package update;
check-for-updates once;
:delay 10s;
:if ( [get status] = "New version is available") do={
/tool e-mail send to="$emailAddress" subject="[Mikrotik] Software Up\
date Available" body="A new update is available for your MikroTik device"
}