Files
hassio-addons/.templates/99-custom_script.sh
2022-03-16 09:56:19 +00:00

9 lines
183 B
Bash

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