mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -15,11 +15,12 @@ if [ ! -f "$HOME"/config.json ]; then
|
||||
fi
|
||||
|
||||
# Make symlink for cookies
|
||||
bashio::log.info "The following json files were found in $HOME and will be used in the app :"
|
||||
bashio::log.info "The following json files were found in $HOME and will be used in the app. Changing those files will require to restart the addon."
|
||||
cd "$HOME" || true
|
||||
for i in *.json; do # Whitespace-safe but not recursive.
|
||||
echo "... processing $i"
|
||||
ln -sf "$i" /usr/app/config
|
||||
# ln -sf "$i" /usr/app/config
|
||||
cp "$i" /usr/app/config
|
||||
done
|
||||
|
||||
# Permissions
|
||||
|
||||
Reference in New Issue
Block a user