diff options
author | Simon Rettberg | 2019-05-13 17:07:07 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-05-13 17:07:07 +0200 |
commit | fbd004f55540676bec1716d4b9757e67e59f11bb (patch) | |
tree | 3506993530efffa20967f25ea64a2a718a6aad53 /core/modules/xscreensaver | |
parent | [idleaction] Fix .service file (diff) | |
download | mltk-fbd004f55540676bec1716d4b9757e67e59f11bb.tar.gz mltk-fbd004f55540676bec1716d4b9757e67e59f11bb.tar.xz mltk-fbd004f55540676bec1716d4b9757e67e59f11bb.zip |
[idleaction] Refine exam mode shutdown/reboot timing
Keep existing schedule entries (we have --min-idle 7200) but add entries
for 23:00 and 4:00 to non-empty schedules. We might skip a tightly
scheduled entry due to --min-idle, e.g. an exam lasts until 19:30 and
the schedule says poweroff at 20:00. We'll miss that entry if the user
didn't log out before, since two hours didn't pass yet.
If the schedule was empty however, do nothing, since it might be desired
that the machines keep running until they die.
Diffstat (limited to 'core/modules/xscreensaver')
0 files changed, 0 insertions, 0 deletions