view scripts/dbus/dbus-launch.sh @ 110:51dc15fbd813

docker (libervia_cont): added check_docker_version function which return 0 if current docker version is greater than wanted one, -1 else
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 21:54:41 +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