aboutsummaryrefslogtreecommitdiffstats
path: root/unattended-lte-firmware-upgrade.rsc
diff options
context:
space:
mode:
authorGravatar netravnen <1938389+netravnen@users.noreply.github.com>2024-06-09 13:13:59 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-10 12:20:24 +0200
commitc2dd9de9b1789c81f2a7db14f5dbba87d5881286 (patch)
treeb7bb745dabf4668852281968cfe8eb7d570de949 /unattended-lte-firmware-upgrade.rsc
parent0a085e6610aadf546b936076f6e3ae68538b1cfa (diff)
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
Diffstat (limited to 'unattended-lte-firmware-upgrade.rsc')
-rw-r--r--unattended-lte-firmware-upgrade.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unattended-lte-firmware-upgrade.rsc b/unattended-lte-firmware-upgrade.rsc
index 904f952..ba22c6f 100644
--- a/unattended-lte-firmware-upgrade.rsc
+++ b/unattended-lte-firmware-upgrade.rsc
@@ -10,7 +10,7 @@
:local Firmware;
:local IntName [ /interface/lte/get $Interface name ];
:do {
- :set Firmware [ /interface/lte/firmware-upgrade $Interface once as-value ];
+ :set Firmware [ /interface/lte/firmware-upgrade $Interface as-value ];
} on-error={
:log debug ("Could not get latest LTE firmware version for interface " . $IntName . ".");
}