view scripts/dbus/dbus-launch.sh @ 87:53a579906c32

docker(libervia_cont): added a "restore" command
author Goffi <goffi@goffi.org>
date Thu, 18 Feb 2016 18:34:11 +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