diff options
Diffstat (limited to 'check-routeros-update')
-rw-r--r-- | check-routeros-update | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/check-routeros-update b/check-routeros-update index 0309730..d21a7d0 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -12,6 +12,7 @@ :global Identity; :global SafeUpdateNeighbor; +:global SafeUpdateOnCap; :global SafeUpdatePatch; :global SafeUpdateUrl; :global SentRouterosUpdateNotification; @@ -37,7 +38,8 @@ $WaitFullyConnected; :if ([ :len [ / system package find where name="wireless" disabled=no ] ] > 0) do={ :if ([ / interface wireless cap get enabled ] = true && \ - [ / caps-man manager get enabled ] = false) do={ + [ / caps-man manager get enabled ] = false && \ + $SafeUpdateOnCap != true) do={ $LogPrintExit2 error $0 ("System is managed by CAPsMAN, not checking for RouterOS version.") true; } } |