diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-02-06 07:28:54 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-14 10:23:13 +0100 |
commit | 14dbe3476e6a5e03d928dc35f48577efea6baf57 (patch) | |
tree | 3f0ad9de10e0ba6f4a68d1ed732b466f01d0eccc /src/basic/util.h | |
parent | 5b3e932f4e40d2c5523757242e00e4f4e6ae89cd (diff) |
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.
Diffstat (limited to 'src/basic/util.h')
-rw-r--r-- | src/basic/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/util.h b/src/basic/util.h index 200f3befe..3cb40a83b 100644 --- a/src/basic/util.h +++ b/src/basic/util.h @@ -375,7 +375,7 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(cpu_set_t*, CPU_FREE); int files_same(const char *filea, const char *fileb); -// UNNEEDED int running_in_chroot(void); +int running_in_chroot(void); char *ellipsize(const char *s, size_t length, unsigned percent); /* bytes columns */ |