view scripts/dbus/dbus-launch.sh @ 29:b27e7f9ad479

Docker (libervia image): added a newline at the end of /home/sat/ADMIN_PWD
author Goffi <goffi@goffi.org>
date Tue, 21 Oct 2014 17:44:41 +0200
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