comparison scripts/dbus/dbus-launch.sh @ 20:703a394b9780

script: dbus-launch script
author Goffi <goffi@goffi.org>
date Sun, 21 Sep 2014 21:43:47 +0200
parents
children
comparison
equal deleted inserted replaced
19:dc5240f4b7b2 20:703a394b9780
1 #!/bin/sh
2
3 DBUS_PATH="/tmp/.dbus.`whoami`"
4
5 if [ ! -e $DBUS_PATH ]; then
6 dbus-launch --sh-syntax > $DBUS_PATH
7 chmod 400 $DBUS_PATH
8 fi
9
10 cat $DBUS_PATH