]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: talk to logind for scheduled shutdowns
authorDaniel Mack <daniel@zonque.org>
Thu, 23 Apr 2015 14:03:02 +0000 (16:03 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 24 Apr 2015 15:48:12 +0000 (17:48 +0200)
commitf0efea232a582660b25ee992853c78cf825721b6
tree8df8b368f0f8f0f5db21b32ee1006b9128fa5792
parent867c37f6bb20886204679df9a43c973e2d7e44a5
systemctl: talk to logind for scheduled shutdowns

Drop the code which communicates with shutdownd via its private socket,
and use the functionality in logind instead.

The code pathes which talk to logind have to create their own ad-hoc
bus connection because by default, systemctl connects to systemd's
private socket.
src/systemctl/systemctl.c