X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=blobdiff_plain;f=usr_sbin%2Fgrml-hostname;h=b529d1772107c632ef79b92b46880a7b0ca907c6;hp=e97c3535580d1d5c3c2a8fafe7d6faec94db7742;hb=9375a86c1fe0f2936a7ff20f46aa98a4d5f1ffb3;hpb=45b48f92ae0771533802c71a790d9f542c627aaf diff --git a/usr_sbin/grml-hostname b/usr_sbin/grml-hostname index e97c353..b529d17 100755 --- a/usr_sbin/grml-hostname +++ b/usr_sbin/grml-hostname @@ -57,6 +57,10 @@ Configuration of myhostname in /etc/postfix/main.cf has been adjusted as well. D fi fi + if [ -x /etc/init.d/avahi-daemon ] && pgrep avahi-daemon >/dev/null ; then + /etc/init.d/avahi-daemon restart + fi + /etc/init.d/hostname.sh if [ -z "$NONINTERACTIVE" ] ; then