aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-27 22:17:06 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-27 22:17:06 +0100
commit7212d8bd23c555970e22fa43edb56dabfe14b820 (patch)
treed29390d92905b1a471d2c67be9e380e8d90ebda7 /packages-update.rsc
parent43ecec854fccb27bdf4424d684f72519f75e0484 (diff)
packages-update: do not reboot when scheduled
Diffstat (limited to 'packages-update.rsc')
-rw-r--r--packages-update.rsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages-update.rsc b/packages-update.rsc
index 2723b3b..0208b1e 100644
--- a/packages-update.rsc
+++ b/packages-update.rsc
@@ -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;
}
}