mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-26 22:46:32 +00:00
parent
917f022614
commit
ee13d1fb45
@ -3,6 +3,8 @@
|
|||||||
# Run logging cli
|
# Run logging cli
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
|
# Run CLI container
|
||||||
|
if [ "$(docker ps -q -f name=hassio_cli)" ]; then
|
||||||
docker container exec \
|
docker container exec \
|
||||||
-ti hassio_cli \
|
-ti hassio_cli \
|
||||||
/usr/bin/cli.sh \
|
/usr/bin/cli.sh \
|
||||||
@ -11,5 +13,9 @@ docker container exec \
|
|||||||
if [ $? -eq 10 ]; then
|
if [ $? -eq 10 ]; then
|
||||||
/bin/ash -l
|
/bin/ash -l
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "[ERROR] Somethings going wrong! Jump into emergency console..."
|
||||||
|
/bin/ash -l
|
||||||
|
fi
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user