Use read -p to wait for enter.

This commit is contained in:
Pagan Gazzard 2014-12-08 17:59:30 +00:00 committed by Pablo Carranza Vélez
parent 32e1712df7
commit 58b9040a36

View File

@ -6,8 +6,7 @@ SUPERVISOR_SOCKET_PATH=/data
COMMAND_SOCKET=${SUPERVISOR_SOCKET_PATH}/host
if [ ! -S ${COMMAND_SOCKET} ]; then
echo 'TTY mode not supported on this image, please update.'
sleep infinity
read -p 'TTY mode not supported on this image, please update.'
else
echo "
rm -f ${HOST_SOCKET}