mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02:00
Copy template
This commit is contained in:
@@ -91,7 +91,7 @@ if [ -f "$CONFIGSOURCE" ]; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Create symlink for addon to create config
|
# Create symlink for addon to create config
|
||||||
touch "${CONFIGSOURCE}"
|
cp /templates/config.yaml "$(dirname "${CONFIGSOURCE}")"/
|
||||||
ln -sf "$CONFIGSOURCE" /data
|
ln -sf "$CONFIGSOURCE" /data
|
||||||
rm "$CONFIGSOURCE"
|
rm "$CONFIGSOURCE"
|
||||||
# Need to restart
|
# Need to restart
|
||||||
|
|||||||
Reference in New Issue
Block a user