diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-08-03 14:38:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-03 14:38:36 +0200 |
commit | 5e0bb1a6287387f179540895e43647a0baa8c724 (patch) | |
tree | e823e540cbfe3ba0d2bf39a465788619626fb44a /src/basic | |
parent | e5bc3f4fdc2ac2f68b781adc958e9570e577538b (diff) | |
parent | 72ccee50d0d08e2339ec283d669eb9ed282aac29 (diff) |
Merge pull request #3828 from keszybz/drop-systemd-vconsole-setup-service
Update documentation for systemd-vconsole-setup
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/util.h b/src/basic/util.h index 44497dcd78..bb2fc318ef 100644 --- a/src/basic/util.h +++ b/src/basic/util.h @@ -61,6 +61,10 @@ static inline const char* one_zero(bool b) { return b ? "1" : "0"; } +static inline const char* enable_disable(bool b) { + return b ? "enable" : "disable"; +} + void execute_directories(const char* const* directories, usec_t timeout, char *argv[]); bool plymouth_running(void); |