chiark / gitweb /
Add poweroff, suspend etc. loginctl commands
authorSven Eden <yamakuzure@gmx.net>
Mon, 6 Feb 2017 06:28:54 +0000 (07:28 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:23:13 +0000 (10:23 +0100)
commit14dbe3476e6a5e03d928dc35f48577efea6baf57
tree3f0ad9de10e0ba6f4a68d1ed732b466f01d0eccc
parent5b3e932f4e40d2c5523757242e00e4f4e6ae89cd
Add poweroff, suspend etc. loginctl commands

* src/login/loginctl.c: Add poweroff, reboot, suspend, hibernate, and
  hybrid-sleep commands.  Normally these are handled by systemctl but
  since elogind is targeted at the no-systemd use case, we incorporate
  them here.
src/basic/util.c
src/basic/util.h
src/login/loginctl.c