Comment 5 for bug 604908

Revision history for this message
Vagrant Cascadian (vagrantc) wrote : Re: [Bug 604908] Re: Client persistently wants to halt if SHUTDOWN_TIME is set and the current time is between SHTUDOWN_TIME and midnight

On 2014-09-20 14:21:29 -0500, Vagrant Cascadian wrote:
> I think a cleaner way might be to have the cron job create the
> /var/log/ltsp-logout-action file if a user is logged into LDM at the
> time the cron job runs, and otherwise reboot. Then LDM will respond
> appropriately, but only once. This should allow all the code to be
> removed from LDM entirely, and only be present in LTSP.

Untested patch to implement this attached.

live well,
  vagrant