aboutsummaryrefslogtreecommitdiffstats
path: root/hostname-post
diff options
context:
space:
mode:
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