Blob Blame History Raw
--- olpc-utils-0.89/usr/bin/olpc-session.dbus	2008-09-29 23:48:41.000000000 +0200
+++ olpc-utils-0.89/usr/bin/olpc-session	2008-10-18 18:14:15.000000000 +0200
@@ -74,5 +74,12 @@
 mv $HOME/.boot_time $HOME/.boot_time.prev 2>/dev/null
 cat /proc/uptime >$HOME/.boot_time
 
+# run the dbus session daemon
+if [ -f /etc/olpc-security ] ; then
+  DBUS_CONFIG="--config-file /etc/dbus-1/session-olpc.conf"
+fi
+
+eval `dbus-launch --sh-syntax --exit-with-session $DBUS_CONFIG`
+
 # finally, run sugar
 exec /usr/bin/ck-xinit-session /usr/bin/sugar