mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-23 02:09:30 +00:00
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:
parent
819c7294c6
commit
cbc547332e
5 changed files with 2 additions and 11 deletions
|
|
@ -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.";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue