annotate scripts/dbus/dbus-launch.sh @ 130:82b148ed4f98

screenshort (0.7): added file sharing animation
author Goffi <goffi@goffi.org>
date Thu, 05 Jul 2018 14:14:58 +0200
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