view scripts/dbus/dbus-launch.sh @ 121:d493fe1cf095

docker (sat_pubsub): minor optimization by joining 2 apt-get install
author Goffi <goffi@goffi.org>
date Fri, 18 Mar 2016 17:56:34 +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