mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 09:11:50 +02:00
SC2164
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user