mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-04 02:04:56 +02:00
add doc/check-lte-firmware-upgrade.md
This commit is contained in:
parent
ff867d1b6b
commit
969ae57fc2
2 changed files with 43 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
# Copyright (c) 2018-2020 Christian Hesse <mail@eworm.de>
|
||||
#
|
||||
# check for LTE firmware upgrade, send notification
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/check-lte-firmware-upgrade.md
|
||||
|
||||
:global Identity;
|
||||
:global SentLteFirmwareUpgradeNotification;
|
||||
|
@ -13,7 +14,7 @@
|
|||
:local IntName [ / interface lte get $Interface name ];
|
||||
:do {
|
||||
:local Firmware [ / interface lte firmware-upgrade $Interface once as-value ];
|
||||
|
||||
|
||||
:if ($SentLteFirmwareUpgradeNotification = ($Firmware->"latest")) do={
|
||||
:log debug ("Already sent the LTE firmware upgrade notification for version " . \
|
||||
($Firmware->"latest") . ".");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue