mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 21:04:05 +02:00
Update 99-run.sh
This commit is contained in:
@@ -15,11 +15,12 @@ if [ ! -f "$HOME"/config.json ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Make symlink for cookies
|
# 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
|
cd "$HOME" || true
|
||||||
for i in *.json; do # Whitespace-safe but not recursive.
|
for i in *.json; do # Whitespace-safe but not recursive.
|
||||||
echo "... processing $i"
|
echo "... processing $i"
|
||||||
ln -sf "$i" /usr/app/config
|
# ln -sf "$i" /usr/app/config
|
||||||
|
cp "$i" /usr/app/config
|
||||||
done
|
done
|
||||||
|
|
||||||
# Permissions
|
# Permissions
|
||||||
|
|||||||
Reference in New Issue
Block a user