From cbc547332e511e1ae7a0658002e2cc595b3b1182 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 31 Jan 2023 12:35:19 +0100 Subject: 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. --- check-routeros-update | 7 ------- 1 file changed, 7 deletions(-) (limited to 'check-routeros-update') diff --git a/check-routeros-update b/check-routeros-update index ccc0d79..3e5a381 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -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."; } -- cgit v1.2.3-54-g00ecf