Skip to content
Snippets Groups Projects
Commit 2a2c4785 authored by Bob Mottram's avatar Bob Mottram
Browse files

Restart installer daemon after change of hostname

parent 3f1d8223
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment