]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/logind-dbus.c
logind: add support for /run/nologin and /run/systemd/shutdown/scheduled
authorDaniel Mack <daniel@zonque.org>
Thu, 23 Apr 2015 15:11:28 +0000 (17:11 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 24 Apr 2015 15:48:12 +0000 (17:48 +0200)
commit867c37f6bb20886204679df9a43c973e2d7e44a5
tree9ee29c9c237d6afd52cbefab9ac6b800aed77d19
parente2fa5721c3ee5ea400b99a6463e8c1c257e20415
logind: add support for /run/nologin and /run/systemd/shutdown/scheduled

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.
src/login/logind-dbus.c
src/login/logind.c
src/login/logind.h