Enable and start systemd-resolved

This commit is contained in:
Matheson Steplock 2022-03-23 01:38:01 +00:00 committed by GitHub
parent 4310fa6579
commit 5cc09a6587

View file

@ -126,6 +126,12 @@ systemctl start hassio-apparmor.service
info "Start Home Assistant Supervised"
systemctl start hassio-supervisor.service
# Enable and start systemd-resolved
if [ "$(systemctl is-active systemd-resolved)" = 'inactive' ]; then
info "Enable systemd-resolved"
systemctl enable systemd-resolved.service> /dev/null 2>&1;
systemctl start systemd-resolved.service> /dev/null 2>&1;
fi
# Install HA CLI
info "Installing the 'ha' cli"