X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fgrml-hostname;h=b529d1772107c632ef79b92b46880a7b0ca907c6;hb=9375a86c1fe0f2936a7ff20f46aa98a4d5f1ffb3;hp=e97c3535580d1d5c3c2a8fafe7d6faec94db7742;hpb=3ea7b7562e8e55bc5a1d81b561d494266e5f9845;p=grml-scripts.git 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