Skip to content

Commit

Permalink
🇨🇳 hassio for china
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Jan 16, 2025
1 parent c37553c commit a345665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant-supervised/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ URL_VERSION="https://version.home-assistant.io/stable.json"
HASSIO_VERSION=$(curl -s ${URL_VERSION} | jq -e -r '.supervisor')
URL_APPARMOR_PROFILE="https://version.home-assistant.io/apparmor.txt"

DOCKER_STORAGE_DRIVER=${DOCKER_STORAGE_DRIVER:=$(cat /tmp/docker-driver >/dev/null 2>&1)}
DOCKER_STORAGE_DRIVER=${DOCKER_STORAGE_DRIVER:=$(cat /etc/docker/storage-driver >/dev/null 2>&1)}
if [ -n "$DOCKER_STORAGE_DRIVER" ]; then
cat /etc/docker/daemon.* >> /tmp/hassio.log
sed -i "s@\:\s*\"overlay2\"@\: \"$DOCKER_STORAGE_DRIVER\"@g" /etc/docker/daemon.*
Expand Down

0 comments on commit a345665

Please sign in to comment.