mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-05 19:34:52 +01:00
Update 02-mariadb_discovery.sh
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
# Runs only after initialization done
|
||||||
|
if [ ! -f /app/www/public/occ ]: then cp "$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi
|
||||||
|
|
||||||
if bashio::services.available 'mysql'; then
|
if bashio::services.available 'mysql'; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user