mirror of
https://github.com/pothi/mikrotik-lte-scripts.git
synced 2026-07-07 10:31:35 +00:00
Compare commits
2 commits
c8ccba90c6
...
21c3b39845
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21c3b39845 | ||
|
|
957b4064fd |
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Alert upon new firmware for LTE Modem
|
# Alert upon new firmware for LTE Modem
|
||||||
|
|
||||||
# Ref: https://wiki.mikrotik.com/wiki/Manual:Interface/LTE#Modem_firmware_upgrade
|
# Ref: https://help.mikrotik.com/docs/spaces/ROS/pages/30146563/LTE+5G#LTE/5G-Modemfirmware-upgradecommand
|
||||||
|
|
||||||
# requirement/s:
|
# requirement/s:
|
||||||
# policy: read, write, policy, test
|
# policy: read, write, policy, test
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
LTE Latest Firmware Version: $lteLatestVer"
|
LTE Latest Firmware Version: $lteLatestVer"
|
||||||
:log info "A new firmware is available for LTE modem and an email is sent to '$adminEmail'."
|
:log info "A new firmware is available for LTE modem and an email is sent to '$adminEmail'."
|
||||||
} else={
|
} else={
|
||||||
:log info "No new firmware update for LTE."
|
:log info "No new firmware update for LTE Modem."
|
||||||
:log info "LTE Installed Firmware Ver: $lteInstalledVer"
|
:log info "LTE Installed Firmware Ver: $lteInstalledVer"
|
||||||
:log info " LTE Latest Firmware Ver: $lteLatestVer"
|
:log info " LTE Latest Firmware Ver: $lteLatestVer"
|
||||||
}
|
}
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
:log info "Connected to internet. Time synced."
|
:log info "Connected to internet. Time synced."
|
||||||
|
|
||||||
:local commonScripts {"firmware-check-rb"; "firmware-check-ros";}
|
:local commonScripts {"firmware-check-rb"; "firmware-check-ros";}
|
||||||
:local initScripts ($commonScripts, "firmware-check-lte")
|
:local initScripts ($commonScripts, "firmware-check-modem")
|
||||||
|
|
||||||
/system script
|
/system script
|
||||||
:foreach scriptName in $initScripts do={
|
:foreach scriptName in $initScripts do={
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue