view scripts/dbus/dbus-launch.sh @ 112:a573bddf8039

docker (libervia_cont): put container used for maintenance in a variable
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 22:01:02 +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