No need to stop docker beforehand
This commit is contained in:
parent
463d288dec
commit
eb9a17f692
1 changed files with 0 additions and 6 deletions
|
@ -70,12 +70,6 @@ if [[ "$(docker ps -aq -f name=hassio_supervisor)" ]]; then
|
||||||
docker container rm --force hassio_supervisor > /dev/null
|
docker container rm --force hassio_supervisor > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If docker is running, stop it
|
|
||||||
if [[ "$(systemctl is-active docker.service)" == "active" ]]; then
|
|
||||||
info "Stopping Docker service"
|
|
||||||
systemctl stop docker.service
|
|
||||||
fi
|
|
||||||
|
|
||||||
dpkg-divert --package homeassistant-supervised --add --rename \
|
dpkg-divert --package homeassistant-supervised --add --rename \
|
||||||
--divert /etc/NetworkManager/NetworkManager.conf.real /etc/NetworkManager/NetworkManager.conf
|
--divert /etc/NetworkManager/NetworkManager.conf.real /etc/NetworkManager/NetworkManager.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue