aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-01-31 12:35:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-01-31 17:27:15 +0100
commitcbc547332e511e1ae7a0658002e2cc595b3b1182 (patch)
treedc85b01ffa0aa6ed3e7869f31a805ab7a0efb6e0 /check-routeros-update
parent819c7294c62c84fbc59bbf16a7d9ce97b4957e57 (diff)
check-routeros-update: drop check for capchange-91
This becomes complicated with legacy wireless and wifiwave2 package, old and new CAPsMAN. Let's just drop the check.
Diffstat (limited to 'check-routeros-update')
-rw-r--r--check-routeros-update7
1 files changed, 0 insertions, 7 deletions
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.";
}