added setup

This commit is contained in:
jkoschke
2022-01-13 00:35:57 +01:00
parent 33e4d91ece
commit c92b3b963a
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
ls -la /data ls -la /data
curl -Lso /data https://gitea.jkoschke.me/Jan/hass-addon-repository/raw/branch/main/tinc-homeassistant/setup.sh \
&& chmod a+x /data/setup.sh
./setup.sh

View File

@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bashio
CONFIG_PATH=/data/options.json
NAME="$(bashio::config 'name')"
echo $NAME