Files
hassio-addons/webtrees/rootfs/scripts/99-custom_script.sh
2022-01-07 16:32:25 +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