mirror of
https://github.com/hassio-addons/addon-zerotier.git
synced 2025-05-04 19:21:25 +00:00
🔥 Removes secrets resolving, now handled by Hassio
This commit is contained in:
parent
be160b905e
commit
a171af6483
2 changed files with 0 additions and 6 deletions
|
@ -31,7 +31,6 @@
|
||||||
"/dev/net/tun:/dev/net/tun:rwm"
|
"/dev/net/tun:/dev/net/tun:rwm"
|
||||||
],
|
],
|
||||||
"map": [
|
"map": [
|
||||||
"config",
|
|
||||||
"ssl:rw"
|
"ssl:rw"
|
||||||
],
|
],
|
||||||
"options": {
|
"options": {
|
||||||
|
|
|
@ -54,11 +54,6 @@ if bashio::config.has_value 'networks'; then
|
||||||
while read -r network; do
|
while read -r network; do
|
||||||
bashio::log.info "Configuring network: ${network}"
|
bashio::log.info "Configuring network: ${network}"
|
||||||
|
|
||||||
# Get network ID from secrets, if it is a secret
|
|
||||||
if bashio::is_secret "${network}"; then
|
|
||||||
network=$(bashio::secret "${network}")
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Ensure the file exists. An empty file will cause automatic join.
|
# Ensure the file exists. An empty file will cause automatic join.
|
||||||
touch "/data/network.${network}.conf"
|
touch "/data/network.${network}.conf"
|
||||||
ln -s \
|
ln -s \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue