view scripts/dbus/dbus-launch.sh @ 135:7272eafd0fad

Backed out changeset 4549cf265131 The hack to avoid launching the backend is not clean, and can confuse user if a frontend is removed. Doesn't seem like a sane solution.
author Goffi <goffi@goffi.org>
date Thu, 19 Jul 2018 21:23:14 +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