aboutsummaryrefslogtreecommitdiffstats
path: root/hostname-post
diff options
context:
space:
mode:
authorflepied <flepied@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2004-08-18 02:56:02 +0000
committerflepied <flepied@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2004-08-18 02:56:02 +0000
commit80bb363b80bb85b8f2a2d2a197e8786108bca16d (patch)
treebe627c7f649bda05cfab0ab0e94403a8db30257c /hostname-post
parent2f060170a83c86290d691f54d8b66b7ece941fc8 (diff)
downloads2u-80bb363b80bb85b8f2a2d2a197e8786108bca16d.tar
s2u-80bb363b80bb85b8f2a2d2a197e8786108bca16d.tar.gz
s2u-80bb363b80bb85b8f2a2d2a197e8786108bca16d.tar.bz2
s2u-80bb363b80bb85b8f2a2d2a197e8786108bca16d.tar.xz
s2u-80bb363b80bb85b8f2a2d2a197e8786108bca16d.zip
put session file in /tmp/dbus-$USER-xsession$CURR_DISPLAY
git-svn-id: svn+ssh://svn.mandriva.com/svn/soft/s2u/trunk@179788 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'hostname-post')
-rwxr-xr-xhostname-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostname-post b/hostname-post
index b8a3a86..5c432e6 100755
--- a/hostname-post
+++ b/hostname-post
@@ -10,7 +10,7 @@
# running X11 dbus session.
#---------------------------------------------------------------
-for f in `ls /var/tmp/dbus-xsession* 2> /dev/null`; do
+for f in `ls /tmp/dbus-*-xsession* 2> /dev/null`; do
. $f
dbus-send --type=method_call --dest=com.mandrakesoft.user.message /com/mandrakesoft/user com.mandrakesoft.user.message string:"Hostname: $1" &
done