capsman-download-packages: no download of missing package for wifiwave2

Sadly the log messages from wifiwave2 do not contain any hint what is
missing... So it's not possible to download missing files.
This commit is contained in:
Christian Hesse 2023-08-07 16:44:26 +02:00
parent 8428ba890d
commit 3cab917a61
3 changed files with 6 additions and 28 deletions

View file

@ -55,6 +55,7 @@ $WaitFullyConnected;
}
}
# NOT /interface/wifiwave2 #
:if ([ :len [ /system/logging/find where topics~"error" !(topics~"!error") \
!(topics~"!caps") action=memory !disabled !invalid ] ] < 1) do={
$LogPrintExit2 warning $0 ("Looks like error messages for 'caps' are not sent to memory. " . \
@ -81,6 +82,7 @@ $WaitFullyConnected;
}
}
# NOT /interface/wifiwave2 #
:if ($Updated = true) do={
:local Script ([ /system/script/find where source~"\n# provides: capsman-rolling-upgrade\n" ]->0);
:if ([ :len $Script ] > 0) do={