This commit is contained in:
Alexandre
2022-01-17 13:39:29 +01:00
parent 9920f1e730
commit fdcc06168b
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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