diff options
author | Christian Hesse <mail@eworm.de> | 2024-03-27 22:17:06 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-03-27 22:17:06 +0100 |
commit | 7212d8bd23c555970e22fa43edb56dabfe14b820 (patch) | |
tree | d29390d92905b1a471d2c67be9e380e8d90ebda7 /packages-update.rsc | |
parent | 43ecec854fccb27bdf4424d684f72519f75e0484 (diff) |
packages-update: do not reboot when scheduled
Diffstat (limited to 'packages-update.rsc')
-rw-r--r-- | packages-update.rsc | 2 |
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; } } |