annotate scripts/dbus/dbus-launch.sh @ 176:e7df6534e387 default tip

association: ajout du compte rendu de l'AG extraordinaire du 17 décembre 2022
author Goffi <goffi@goffi.org>
date Tue, 17 Jan 2023 14:13:58 +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