diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-01-26 10:15:42 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-14 10:23:10 +0100 |
commit | 059696ac014da265ee2d1b062cd0dc7bee3d2001 (patch) | |
tree | 92551b9245b08499b5f25ceb1e39b4482b5ef00a /src/login/logind-core.c | |
parent | db74dfab5842da3f83d3bb9e2fa3bf8736939ecf (diff) |
Remove support for auto-spawning VTs
Auto-spawning VTs requires systemd in practice. If you're using systemd
you can just use its logind :)
Diffstat (limited to 'src/login/logind-core.c')
-rw-r--r-- | src/login/logind-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/logind-core.c b/src/login/logind-core.c index 107b3243a..dd681401a 100644 --- a/src/login/logind-core.c +++ b/src/login/logind-core.c @@ -374,6 +374,8 @@ bool manager_shall_kill(Manager *m, const char *user) { return strv_contains(m->kill_only_users, user); } +/// UNNEEDED by elogind +#if 0 static int vt_is_busy(unsigned int vtnr) { struct vt_stat vt_stat; int r = 0; @@ -438,6 +440,7 @@ int manager_spawn_autovt(Manager *m, unsigned int vtnr) { return r; } +#endif // 0 bool manager_is_docked(Manager *m) { Iterator i; |