mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00: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]";
|
:put "Do you want to (s)chedule reboot or (r)eboot now? [s/R]";
|
||||||
:if (([ /terminal/inkey timeout=60 ] % 32) = 19) do={
|
:if (([ /terminal/inkey timeout=60 ] % 32) = 19) do={
|
||||||
$Schedule $ScriptName;
|
$Schedule $ScriptName;
|
||||||
|
:error true;
|
||||||
}
|
}
|
||||||
} else={
|
} else={
|
||||||
:if ($PackagesUpdateDeferReboot = true) do={
|
:if ($PackagesUpdateDeferReboot = true) do={
|
||||||
$Schedule $ScriptName;
|
$Schedule $ScriptName;
|
||||||
|
:error true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue