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