aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
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.";
}