packages-update: do not reboot when scheduled

This commit is contained in:
Christian Hesse 2024-03-27 22:17:06 +01:00
parent 43ecec854f
commit 7212d8bd23

View file

@ -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;
}
}