1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

unattended-lte-firmware-upgrade: act on running interfaces only

The firmware is downloaded over the air, so broadband connection
is required.
This commit is contained in:
Christian Hesse
2021-02-26 11:51:19 +01:00
parent c9854fa800
commit fcbfb568da

View File

@ -6,7 +6,7 @@
# schedule unattended lte firmware upgrade
# https://git.eworm.de/cgit/routeros-scripts/about/doc/unattended-lte-firmware-upgrade.md
:foreach Interface in=[ / interface lte find ] do={
:foreach Interface in=[ / interface lte find where running ] do={
:local Firmware;
:local IntName [ / interface lte get $Interface name ];
:do {