Deprecated nobuild

This commit is contained in:
Alexandre
2025-06-10 12:32:46 +02:00
committed by GitHub
parent 04ea0e6c7f
commit 85f9c28b39
14 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# Config location
CONFIGLOCATION="$(bashio::config 'CONFIG_LOCATION')"
# Text
bashio::log.info "Setting config location to $CONFIGLOCATION"
# Adapt files
sed -i "s|/data/config|$CONFIGLOCATION|g" /etc/cont-init.d/*
# Avoid tamper issues
chown -R root:root "$CONFIGLOCATION"/custom*