logind: add support for /run/nologin and /run/systemd/shutdown/scheduled

System Internals / systemd - Daniel Mack [zonque.org] - 24 April 2015 10:48 UTC

Port over more code from shutdownd and teach logind to write /run/nologin at least 5 minutes before the system is going down, and /run/systemd/shutdown/scheduled when a shutdown is scheduled.

867c37f logind: add support for /run/nologin and /run/systemd/shutdown/scheduled
src/login/logind-dbus.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++
src/login/logind.c | 4 +++
src/login/logind.h | 2 ++
3 files changed, 94 insertions(+)

Upstream: github.com


  • Share