Enable and start systemd-resolved
This commit is contained in:
parent
4310fa6579
commit
5cc09a6587
1 changed files with 6 additions and 0 deletions
|
@ -126,6 +126,12 @@ systemctl start hassio-apparmor.service
|
||||||
info "Start Home Assistant Supervised"
|
info "Start Home Assistant Supervised"
|
||||||
systemctl start hassio-supervisor.service
|
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
|
# Install HA CLI
|
||||||
info "Installing the 'ha' cli"
|
info "Installing the 'ha' cli"
|
||||||
|
|
Loading…
Reference in a new issue