mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-01 16:54:38 +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") . ".");
|
||||
|
|
41
doc/check-lte-firmware-upgrade.md
Normal file
41
doc/check-lte-firmware-upgrade.md
Normal file
|
@ -0,0 +1,41 @@
|
|||
Notify on LTE firmware upgrade
|
||||
==============================
|
||||
|
||||
[◀ Go back to main README](../README.md)
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
This script is run from scheduler periodically, checking for LTE firmware
|
||||
upgrades. Currently supported LTE hardware:
|
||||
|
||||
* R11e-LTE
|
||||
* R11e-LTE-US
|
||||
* R11e-4G
|
||||
* R11e-LTE6
|
||||
|
||||
Requirements and installation
|
||||
-----------------------------
|
||||
|
||||
Just install the script:
|
||||
|
||||
$ScriptInstallUpdate check-lte-firmware-upgrade;
|
||||
|
||||
... and create a scheduler:
|
||||
|
||||
/ system scheduler add interval=1d name=check-lte-firmware-upgrade on-event="/ system script run check-lte-firmware-upgrade;" start-time=startup;
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
|
||||
Notification setting are required for e-mail and telegram.
|
||||
|
||||
See also
|
||||
--------
|
||||
|
||||
* [Notify on RouterOS update](check-routeros-update.md)
|
||||
* [Install LTE firmware upgrade](unattended-lte-firmware-upgrade.md)
|
||||
|
||||
---
|
||||
[◀ Go back to main README](../README.md)
|
||||
[▲ Go back to top](#top)
|
Loading…
Add table
Add a link
Reference in a new issue