aboutsummaryrefslogtreecommitdiffstats
path: root/hostname-post
diff options
context:
space:
mode:
authorfcrozat <fcrozat@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2005-03-07 16:01:12 +0000
committerfcrozat <fcrozat@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2005-03-07 16:01:12 +0000
commitb1a60e2f91f95f0da9bfb96d7d9453f27248f028 (patch)
tree1a63b1cd08b548b04f92363d3cd75ecb0f2a7046 /hostname-post
parentd2f6a2ed5c3c6e83f0b01843944dda83338e13e8 (diff)
downloads2u-b1a60e2f91f95f0da9bfb96d7d9453f27248f028.tar
s2u-b1a60e2f91f95f0da9bfb96d7d9453f27248f028.tar.gz
s2u-b1a60e2f91f95f0da9bfb96d7d9453f27248f028.tar.bz2
s2u-b1a60e2f91f95f0da9bfb96d7d9453f27248f028.tar.xz
s2u-b1a60e2f91f95f0da9bfb96d7d9453f27248f028.zip
Release 0.5 :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
Diffstat (limited to 'hostname-post')
-rwxr-xr-xhostname-post5
1 files changed, 1 insertions, 4 deletions
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