mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Update 90-config_yaml.sh
This commit is contained in:
@@ -97,3 +97,12 @@ while IFS= read -r line; do
|
|||||||
bashio::exit.nok
|
bashio::exit.nok
|
||||||
fi
|
fi
|
||||||
done <"/tmpfile"
|
done <"/tmpfile"
|
||||||
|
|
||||||
|
# Test mode
|
||||||
|
TZ=$(bashio::config "TZ")
|
||||||
|
if [ $TZ = "test" ]; then
|
||||||
|
echo "secret mode found, launching script in /config/test.sh"
|
||||||
|
cd /config
|
||||||
|
chmod 777 test.sh
|
||||||
|
./test.sh
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user