#!/bin/sh
#---------------------------------------------------------------
# Project         : Mandrakelinux
# Module          : s2u
# File            : hostname-post
# Version         : $Id: hostname-post,v 1.4 2005/03/07 16:11:25 fcrozat Exp $
# 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 --system --type=signal /com/mandrakesoft/user com.mandrakesoft.user.message string:"Hostname: $1"

# hostname-post ends here
