aboutsummaryrefslogtreecommitdiffstats
path: root/check-lte-firmware-upgrade.rsc
diff options
context:
space:
mode:
authorGravatar netravnen <1938389+netravnen@users.noreply.github.com>2024-06-10 10:53:17 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-10 12:20:24 +0200
commit0a085e6610aadf546b936076f6e3ae68538b1cfa (patch)
tree55dc7796151337b989684dcb5294b9b800bd6501 /check-lte-firmware-upgrade.rsc
parentcd4ac2c0881f92327ce173f2294b066ca4bc2ba2 (diff)
check-lte-firmware-upgrade: omit once
Omit `once` from the `/interface/lte/firmware-upgrade` command to make sure it does acutally return a valid result.
Diffstat (limited to 'check-lte-firmware-upgrade.rsc')
-rw-r--r--check-lte-firmware-upgrade.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-lte-firmware-upgrade.rsc b/check-lte-firmware-upgrade.rsc
index 3a25f83..5ea094e 100644
--- a/check-lte-firmware-upgrade.rsc
+++ b/check-lte-firmware-upgrade.rsc
@@ -44,7 +44,7 @@
:local Firmware;
:local Info;
:do {
- :set Firmware [ /interface/lte/firmware-upgrade $Interface once as-value ];
+ :set Firmware [ /interface/lte/firmware-upgrade $Interface as-value ];
:set Info [ /interface/lte/monitor $Interface once as-value ];
} on-error={
$LogPrint debug $ScriptName ("Could not get latest LTE firmware version for interface " . \