Revert "chmod +x scripts"

This reverts commit 3351e5b29c.
This commit is contained in:
Alexandre
2022-06-15 21:03:13 +02:00
parent 27bb72ef76
commit 42bef66f08
218 changed files with 9448 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# 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*