Explorar o código

delay execution of socat

Alfonso Gamboa %!s(int64=4) %!d(string=hai) anos
pai
achega
64282a7862
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      SD_ROOT/wz_mini/run_mmc.sh

+ 2 - 1
SD_ROOT/wz_mini/run_mmc.sh

@@ -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"