mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-13 11:21:02 +01:00
14 lines
302 B
Bash
Executable File
14 lines
302 B
Bash
Executable File
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
set -e
|
|
|
|
if [ ! -f /touched ]; then
|
|
until [[ -n $(cat /data/*_1.log 2>/dev/null) ]]; do
|
|
sleep 1
|
|
done
|
|
bashio::log.info "Here are the admin informations:"
|
|
cat /data/*_1.log
|
|
touch /touched
|
|
rm /etc/services.d/logs.sh
|
|
fi
|