Files
hassio-addons/.templates/99-custom_script.sh
2022-01-17 09:40:26 +01:00

9 lines
179 B
Bash

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