mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-27 19:04:05 +02:00
Update 00-folders.sh
This commit is contained in:
@@ -3,6 +3,13 @@
|
|||||||
|
|
||||||
CONFIGSOURCE="/data"
|
CONFIGSOURCE="/data"
|
||||||
|
|
||||||
|
# Use ssl
|
||||||
|
if [ -d /ssl ]; then
|
||||||
|
mkdir -p /cert
|
||||||
|
cp /ssl/* /cert 2>/dev/null
|
||||||
|
chown -R 508:508 /cert
|
||||||
|
fi
|
||||||
|
|
||||||
# Create directory
|
# Create directory
|
||||||
if [ ! -d "$CONFIGSOURCE" ]; then
|
if [ ! -d "$CONFIGSOURCE" ]; then
|
||||||
echo "Creating directory"
|
echo "Creating directory"
|
||||||
|
|||||||
Reference in New Issue
Block a user