Files
hassio-addons/.templates/99-custom_script.sh
Alexandre 42bef66f08 Revert "chmod +x scripts"
This reverts commit 3351e5b29c.
2022-06-15 21:03:13 +02:00

10 lines
226 B
Bash

#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
CONFIGSOURCE="$(dirname "${CONFIGSOURCE}")"
if [ -f "$CONFIGSOURCE"/script.sh ]; then
"$CONFIGSOURCE"./script.sh
fi