This commit is contained in:
Alexandre
2022-01-17 15:18:44 +01:00
parent fdcc06168b
commit ca4b2fa36f
3 changed files with 3 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ done <"/tmpfile"
# Test mode
TZ=$(bashio::config "TZ")
if [ $TZ = "test" ]; then
if [ "$TZ" = "test" ]; then
echo "secret mode found, launching script in /config/test.sh"
cd /config || exit
chmod 777 test.sh

View File

@@ -67,7 +67,7 @@ echo " "
# Test mode
TZ=$(bashio::config "TZ")
if [ $TZ = "test" ]; then
if [ "$TZ" = "test" ]; then
echo "secret mode found, launching script in /config/test.sh"
cd /config || exit
chmod 777 test.sh

View File

@@ -66,7 +66,7 @@ bashio::log.info "Starting the app"
echo " "
# Test mode
if [ $TZ = "test" ]; then
if [ "$TZ" = "test" ]; then
echo "secret mode found, launching script in /config/test.sh"
cd /config || exit
chmod 777 test.sh