Blame SOURCES/00-start-message-bus.sh
|
|
275029 |
#!/bin/sh
|
|
|
275029 |
# Copyright (C) 2008 Red Hat, Inc.
|
|
|
275029 |
#
|
|
|
275029 |
# All rights reserved. This copyrighted material is made available to anyone
|
|
|
275029 |
# wishing to use, modify, copy, or redistribute it subject to the terms and
|
|
|
275029 |
# conditions of the GNU General Public License version 2.
|
|
|
275029 |
#
|
|
|
275029 |
# You should have received a copy of the GNU General Public License
|
|
|
275029 |
# along with this program; if not, write to the Free Software
|
|
|
275029 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
275029 |
#
|
|
|
275029 |
|
|
|
275029 |
DBUS_SESSION_BUS_ADDRESS=`printenv DBUS_SESSION_BUS_ADDRESS`
|
|
|
275029 |
|
|
|
275029 |
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
|
|
275029 |
eval `dbus-launch --sh-syntax --exit-with-session`
|
|
|
275029 |
fi
|