view scripts/dbus/dbus-launch.sh @ 50:fe116a11199b

fixes launching script
author souliane <souliane@mailoo.org>
date Mon, 28 Sep 2015 09:55:10 +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