annotate scripts/dbus/dbus-launch.sh @ 41:21d0d0ab7aa0

xeps: renamed published proto-xeps, and updated them according to published version
author Goffi <goffi@goffi.org>
date Fri, 20 Mar 2015 16:13:10 +0100
parents 703a394b9780
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/bin/sh
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
2
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
3 DBUS_PATH="/tmp/.dbus.`whoami`"
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
4
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
5 if [ ! -e $DBUS_PATH ]; then
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
6 dbus-launch --sh-syntax > $DBUS_PATH
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
7 chmod 400 $DBUS_PATH
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
8 fi
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
9
703a394b9780 script: dbus-launch script
Goffi <goffi@goffi.org>
parents:
diff changeset
10 cat $DBUS_PATH