aboutsummaryrefslogtreecommitdiffstats
path: root/hostname-post
blob: f7d1a1e67761f8b2e324a1b73fece7f56de707a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#---------------------------------------------------------------
# Project         : Mandriva Linux
# Module          : s2u
# File            : hostname-post
# 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 /org/mageia/user org.mageia.user.message string:"Hostname: $1"

# hostname-post ends here