This commit is contained in:
Alexandre
2023-05-22 16:04:50 +02:00
parent be801c7c78
commit 3b6eb569a4
15 changed files with 1059 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# Define home
# Creating config location
echo "Creating config location ..."
HOME="$(bashio::config "CONFIG_LOCATION")"
HOME="$(dirname "$HOME")"
mkdir -p $HOME
chmod -R 777 $HOME
# Copy files to data
echo "Copying files if needed..."
cp -rnf /fsg/* /data/