view scripts/dbus/dbus-launch.sh @ 74:8807a553e5bf

xep (jid mention): fixed mention author
author Goffi <goffi@goffi.org>
date Sat, 16 Jan 2016 17:43:54 +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