mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-07-24 04:24:27 +02:00
Better docs
This commit is contained in:
parent
f78b1a159b
commit
97345bd33b
5 changed files with 63 additions and 56 deletions
|
@ -1,14 +0,0 @@
|
|||
:local installedFirmware;
|
||||
:local latestFirmware;
|
||||
|
||||
set $installedFirmware ([/int lte info lte1 once as-value]->"revision");
|
||||
:put " Installed Firmware: $installedFirmware";
|
||||
|
||||
set $latestFirmware ([/int lte firmware-upgrade lte1 as-value]->"latest");
|
||||
:put " Latest Firmware: $latestFirmware";
|
||||
|
||||
:if ($installedFirmware != $latestFirmware) do={
|
||||
:log info "A firmware update is available!!";
|
||||
} else={
|
||||
:log info "The installed firmware is the latest firmware!";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue