aboutsummaryrefslogtreecommitdiffstats
path: root/hostname-post
blob: 6a15f516e4cea1687ed70d646934e675745bdeba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#---------------------------------------------------------------
# Project         : Mandrakelinux
# Module          : s2u
# File            : hostname-post
# Version         : $Id$
# Author          : Frederic Lepied
# Created On      : Tue Jul  6 16:10:03 2004
# Purpose         : send a dbus message on hostname change to all
#                 running X11 dbus session.
#---------------------------------------------------------------

dbus-send --type=signal --dest=com.mandrakesoft.user.message /com/mandrakesoft/user com.mandrakesoft.user.message string:"Hostname: $1"

# hostname-post ends here