unattended-lte-firmware-upgrade: drop the AT reset

The AT command to reset is specific to modem. So this worked for some
only... Let's just drop it, and update the log message.
This commit is contained in:
Christian Hesse 2024-06-11 21:09:06 +02:00
parent 2166f262c8
commit 1e1c9be945

View file

@ -30,8 +30,7 @@
:delay 240s;
:local Firmware [ /interface/lte/firmware-upgrade $1 as-value ];
:if (($Firmware->"installed") != ($Firmware->"latest")) do={
:log warning ("LTE firmware versions still differ. Resetting again...");
/interface/lte/at-chat $1 input="AT+RESET";
:log warning ("LTE firmware versions still differ. Upgrade failed anyway?");
}
} on-error={
:log error ("LTE firmware upgrade on '" . $1 . "' failed.");