delay execution of socat

This commit is contained in:
Alfonso Gamboa 2022-04-17 21:40:49 -07:00
parent 8df4006ce9
commit 64282a7862

View File

@ -77,7 +77,8 @@ if [[ "$DISABLE_FW_UPGRADE" == "true" ]]; then
fi
if [[ "$REMOTE_SPOTLIGHT" == "true" ]]; then
/media/mmc/wz_mini/bin/socat pty,link=/dev/ttyUSB0,raw tcp:$REMOTE_SPOTLIGHT_HOST:9000 &
{ sleep 10; /media/mmc/wz_mini/bin/socat pty,link=/dev/ttyUSB0,raw tcp:$REMOTE_SPOTLIGHT_HOST:9000; } &
fi
echo "set hostname"