view scripts/dbus/dbus-launch.sh @ 54:8aa0807d6b98

added sticker
author Goffi <goffi@goffi.org>
date Thu, 15 Oct 2015 16:07:15 +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