From b1a60e2f91f95f0da9bfb96d7d9453f27248f028 Mon Sep 17 00:00:00 2001 From: fcrozat Date: Mon, 7 Mar 2005 16:01:12 +0000 Subject: Release 0.5 : no longer use session bus, use system bus instead (fix Mdk bug #13166) git-svn-id: svn+ssh://svn.mandriva.com/svn/soft/s2u/trunk@179801 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- hostname-post | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'hostname-post') diff --git a/hostname-post b/hostname-post index 5c432e6..6a15f51 100755 --- a/hostname-post +++ b/hostname-post @@ -10,9 +10,6 @@ # running X11 dbus session. #--------------------------------------------------------------- -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 +dbus-send --type=signal --dest=com.mandrakesoft.user.message /com/mandrakesoft/user com.mandrakesoft.user.message string:"Hostname: $1" # hostname-post ends here -- cgit v1.2.1