mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-21 12:08:12 +01:00
15 lines
318 B
Plaintext
15 lines
318 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
##################
|
|
# SYMLINK CONFIG #
|
|
##################
|
|
|
|
# If config doesn't exist, create it
|
|
if [ ! -d /data/config ]; then
|
|
echo "moving config folder"
|
|
mv /gallery/local/config /data
|
|
mkdir -p /gallery/local/config
|
|
ln -s /data/config /gallery/local/config
|
|
echo "links done"
|
|
fi
|