check-routeros-update: drop check for cap

This becomes complicated with legacy wireless and wifiwave2 package, old
and new CAPsMAN. Let's just drop the check.
This commit is contained in:
Christian Hesse 2023-01-31 12:35:19 +01:00
parent 819c7294c6
commit cbc547332e
5 changed files with 2 additions and 11 deletions

View file

@ -12,7 +12,6 @@
:global Identity;
:global SafeUpdateNeighbor;
:global SafeUpdateOnCap;
:global SafeUpdatePatch;
:global SafeUpdateUrl;
:global SentRouterosUpdateNotification;
@ -39,12 +38,6 @@ $ScriptLock $0;
$WaitFullyConnected;
:if ([ /interface/wireless/cap/get enabled ] = true && \
[ /caps-man/manager/get enabled ] = false && \
$SafeUpdateOnCap != true) do={
$LogPrintExit2 error $0 ("System is managed by CAPsMAN, not checking for RouterOS version.") true;
}
:if ([ :len [ /system/scheduler/find where name="reboot-for-update" ] ] > 0) do={
:error "A reboot for update is already scheduled.";
}