diff options
author | Christian Hesse <mail@eworm.de> | 2020-03-27 22:15:43 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-03-27 22:15:43 +0100 |
commit | 54a8f2839dd32d9c8bd60c2edbbca3606b250bbb (patch) | |
tree | b8164b53f21696c30869ca2b4c3699efd3eb1579 /check-lte-firmware-upgrade | |
parent | a87fbb4be1e1e090b01db9eebd7799a0e1d62771 (diff) | |
parent | 1d93e92dcda753b855e89295f74dafae4743bb80 (diff) |
Merge branch 'documentation'
Diffstat (limited to 'check-lte-firmware-upgrade')
-rw-r--r-- | check-lte-firmware-upgrade | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/check-lte-firmware-upgrade b/check-lte-firmware-upgrade index 101f5e1..6edb6f1 100644 --- a/check-lte-firmware-upgrade +++ b/check-lte-firmware-upgrade @@ -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") . "."); |