view scripts/dbus/dbus-launch.sh @ 27:b2a09608bd9b

docker: fixed "./do_all.sh pull" + minor change
author Goffi <goffi@goffi.org>
date Mon, 20 Oct 2014 16:55:45 +0200
parents 703a394b9780
children
line wrap: on
line source

#!/bin/sh

DBUS_PATH="/tmp/.dbus.`whoami`"

if [ ! -e $DBUS_PATH ]; then
	dbus-launch --sh-syntax > $DBUS_PATH
	chmod 400 $DBUS_PATH
fi

cat $DBUS_PATH