view scripts/dbus/dbus-launch.sh @ 111:a3f9cfa2721e

docker (libervia_cont): workaround for copying config when Docker version is below 1.8.0
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 21:54:43 +0100
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