Properly set variables

This commit is contained in:
Jan-Henrik 2023-02-06 22:44:59 +01:00
parent 0fd189b18d
commit f05a8b5896
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
---
name: EPaper Station
version: 1.0.0.3
version: 1.0.0.4
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
slug: epaper-station
description: Publish Pictures to EPaper pricetags

View file

@ -2,10 +2,10 @@
bashio::log.info "Reading config..."
CONFIG_PATH=/data/options.json
EPS_CHANNEL="$(bashio::config 'channel')"
EPS_PORT="$(bashio::config 'serial_port')"
EPS_IMAGE_WORKDIR="/tmp"
EPS_DATABASE_DIR="/data/database/"
export EPS_CHANNEL="$(bashio::config 'channel')"
export EPS_PORT="$(bashio::config 'serial_port')"
export EPS_IMAGE_WORKDIR="/tmp"
export EPS_DATABASE_DIR="/data/database/"
mkdir -p $EPS_DATABASE_DIR
bashio::log.info "Starting epaper station..."