summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2011-01-11 10:09:42 +0000
committerColin Guthrie <cguthrie@mandriva.org>2011-01-11 10:10:07 +0000
commit1b545997adf46e5961ab896f92dece2ee02aee36 (patch)
treeb4d8c08083ac404f9f3f3a1423702fc9ffeeacce /src/daemon
parent4bb8a83c623dc9aa55b2f16bcb6c225b845ce4d2 (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.
Diffstat (limited to 'src/daemon')
-rwxr-xr-xsrc/daemon/default.pa.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in
index f9b9eadd..ace0f09e 100755
--- a/src/daemon/default.pa.in
+++ b/src/daemon/default.pa.in
@@ -111,7 +111,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