From 80bb363b80bb85b8f2a2d2a197e8786108bca16d Mon Sep 17 00:00:00 2001 From: flepied Date: Wed, 18 Aug 2004 02:56:02 +0000 Subject: 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 --- hostname-post | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hostname-post') 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 -- cgit v1.2.1