mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
check-routeros-update: do not act if reboot is scheduled
This commit is contained in:
parent
08c90c95b7
commit
12da4de305
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
:if ([ / system scheduler print count-only where name="reboot-for-update" ] > 0) do={
|
||||
:error "A reboot for update is already scheduled.";
|
||||
}
|
||||
|
||||
/ system package update check-for-updates without-paging;
|
||||
:local Update [ / system package update get ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue