view scripts/dbus/dbus-launch.sh @ 167:c3179ce8b0e2

Backed out changeset 910295c67d0d committed by mistake
author Goffi <goffi@goffi.org>
date Sat, 02 Jan 2021 08:43:02 +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