From 2a2c4785918b2af2b656cbcbb25e2855045b4f89 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sun, 29 Jul 2018 23:55:03 +0100
Subject: [PATCH] Restart installer daemon after change of hostname

---
 src/freedombone-controlpanel | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel
index b0278a2c5..b0282b8c6 100755
--- a/src/freedombone-controlpanel
+++ b/src/freedombone-controlpanel
@@ -1208,6 +1208,7 @@ function change_system_name {
                    systemctl restart avahi-daemon
                    if grep -q "host-name=$NEW_SYSTEM_NAME" /etc/avahi/avahi-daemon.conf; then
                        install_web_admin
+                       systemctl restart webadmin
                        dialog --title $"New local network name" \
                               --msgbox $"The name of this system on your local network was changed successfully" 6 70
                    fi
-- 
GitLab