mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
remove-packages: delay if uptime less than one minute
This commit is contained in:
parent
f4673928ef
commit
2505e5d42f
|
@ -4,6 +4,8 @@
|
|||
#
|
||||
# remove packages (*.npk) not matching installed version
|
||||
|
||||
:if ([ /system resource get uptime ] < 1m) do={ :delay 1m; }
|
||||
|
||||
:local version [ / system package update get installed-version ];
|
||||
|
||||
:foreach package in=[ / file find type="package" ] do={
|
||||
|
|
Loading…
Reference in a new issue