diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2011-01-11 10:09:42 +0000 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-01-11 11:27:30 +0000 |
commit | 862bbee30949acf791e470c6c278b2fcb82bc79e (patch) | |
tree | ba53ec7ed359ae366f522e48146f2a6552285d68 | |
parent | 7cb1401eae1e5be2e31dfd00528bac291b60a4a4 (diff) |
console-kit: Console Kit support is dependent on DBUS and is thus optional.
Therefore, we must reflect this in the default.pa. Several users
have reported an error with consolekit when starting a self-built PA
due to the default config not working properly. This works around the
issue but we should include a warning on configure about the lack of
DBUS and udev support as this is a common mistake.
-rwxr-xr-x | src/daemon/default.pa.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in index 00c000eb..15e253f0 100755 --- a/src/daemon/default.pa.in +++ b/src/daemon/default.pa.in @@ -108,7 +108,9 @@ load-module module-suspend-on-idle ### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. +.ifexists module-console-kit@PA_SOEXT@ load-module module-console-kit +.endif ### Enable positioned event sounds load-module module-position-event-sounds |