added setup
This commit is contained in:
@ -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
|
||||||
7
tinc-homeassistant/setup.sh
Normal file
7
tinc-homeassistant/setup.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
CONFIG_PATH=/data/options.json
|
||||||
|
|
||||||
|
NAME="$(bashio::config 'name')"
|
||||||
|
|
||||||
|
echo $NAME
|
||||||
Reference in New Issue
Block a user