Create 99-custom_script.sh

This commit is contained in:
Alexandre
2022-01-07 16:32:25 +01:00
committed by GitHub
parent 3d0cfa10ed
commit 00c123a008

View File

@@ -0,0 +1,8 @@
#!/bin/bash
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
CONFIGSOURCE="$(dirname "${CONFIGSOURCE}")"
if [ -f "$CONFIGSOURCE"/script.sh ]; then
"$CONFIGSOURCE"./script.sh
fi