mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
SC2086
This commit is contained in:
@@ -96,7 +96,7 @@ done <"/tmpfile"
|
|||||||
|
|
||||||
# Test mode
|
# Test mode
|
||||||
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 || exit
|
cd /config || exit
|
||||||
chmod 777 test.sh
|
chmod 777 test.sh
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ echo " "
|
|||||||
|
|
||||||
# Test mode
|
# Test mode
|
||||||
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 || exit
|
cd /config || exit
|
||||||
chmod 777 test.sh
|
chmod 777 test.sh
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ bashio::log.info "Starting the app"
|
|||||||
echo " "
|
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 || exit
|
cd /config || exit
|
||||||
chmod 777 test.sh
|
chmod 777 test.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user