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