esphome/docker/hassio-rootfs/etc/cont-init.d/30-dirs.sh

9 lines
362 B
Bash

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Community Hass.io Add-ons: ESPHome
# This files creates all directories used by esphome
# ==============================================================================
PLATFORMIO_CORE_DIR=/data/cache/platformio
mkdir -p "${PLATFORMIO_CORE_DIR}"