mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-05 23:54:31 +02:00
unattended-lte-firmware-upgrade: omit once
Omit `once` from the `/interface/lte/firmware-upgrade` command to make sure it does acutally return a valid result. Fixes #69
This commit is contained in:
parent
0a085e6610
commit
c2dd9de9b1
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
:local Firmware;
|
:local Firmware;
|
||||||
:local IntName [ /interface/lte/get $Interface name ];
|
:local IntName [ /interface/lte/get $Interface name ];
|
||||||
:do {
|
:do {
|
||||||
:set Firmware [ /interface/lte/firmware-upgrade $Interface once as-value ];
|
:set Firmware [ /interface/lte/firmware-upgrade $Interface as-value ];
|
||||||
} on-error={
|
} on-error={
|
||||||
:log debug ("Could not get latest LTE firmware version for interface " . $IntName . ".");
|
:log debug ("Could not get latest LTE firmware version for interface " . $IntName . ".");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue