mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-31 02:10:32 +02:00
Update 99-run.sh
This commit is contained in:
@@ -54,9 +54,11 @@ echo " "
|
||||
bashio::log.info "Starting the app"
|
||||
echo " "
|
||||
|
||||
export TZ=$(bashio::config "TZ")
|
||||
|
||||
# Test mode
|
||||
if [ $(bashio::config "TZ") = "test" ]; then
|
||||
echo "secret mode found"
|
||||
if [ $TZ = "test" ]; then
|
||||
echo "secret mode found, launching script in /config/test.sh"
|
||||
cd /config
|
||||
chmod 777 test.sh
|
||||
./test.sh
|
||||
|
||||
Reference in New Issue
Block a user