systemd: complement module-console-kit with module-systemd-login

ConsoleKit has been deprecated and replaced by systemd's logind daemon,
hence provide the same functionality of module-console-kit in
module-systemd-login. This also makes sure that the CK module becomes a
NOP if the system is booted with systemd, resp. that the systemd module
becomes a NOP if the system is booted without systemd, thus being nice
to OSes such as Debian which want to support multiple init systems.
This commit is contained in:
Lennart Poettering 2012-03-17 01:52:41 +01:00
parent e83ebabc68
commit 860d1cf3a7
5 changed files with 289 additions and 2 deletions

View file

@ -150,6 +150,9 @@ load-module module-suspend-on-idle
.ifexists module-console-kit@PA_SOEXT@
load-module module-console-kit
.endif
.ifexists module-systemd-login@PA_SOEXT@
load-module module-systemd-login
.endif
### Enable positioned event sounds
load-module module-position-event-sounds