mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-25 21:34:30 +02:00
packages-update: do not reboot when scheduled
This commit is contained in:
parent
43ecec854f
commit
7212d8bd23
1 changed files with 2 additions and 0 deletions
|
@ -130,10 +130,12 @@
|
|||
:put "Do you want to (s)chedule reboot or (r)eboot now? [s/R]";
|
||||
:if (([ /terminal/inkey timeout=60 ] % 32) = 19) do={
|
||||
$Schedule $ScriptName;
|
||||
:error true;
|
||||
}
|
||||
} else={
|
||||
:if ($PackagesUpdateDeferReboot = true) do={
|
||||
$Schedule $ScriptName;
|
||||
:error true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue