mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
9 lines
179 B
Bash
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
|