From 3c27a89352da45374af6e3c26ee42308ba588457 Mon Sep 17 00:00:00 2001 From: Alfonso Gamboa Date: Sun, 17 Apr 2022 21:28:39 -0700 Subject: [PATCH] fix socat path and revise logging --- SD_ROOT/wz_mini/etc/init.d/v3_init.sh | 2 +- SD_ROOT/wz_mini/run_mmc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SD_ROOT/wz_mini/etc/init.d/v3_init.sh b/SD_ROOT/wz_mini/etc/init.d/v3_init.sh index a008799..c1e8f19 100755 --- a/SD_ROOT/wz_mini/etc/init.d/v3_init.sh +++ b/SD_ROOT/wz_mini/etc/init.d/v3_init.sh @@ -30,6 +30,6 @@ else echo "swap archive not present, not extracting" fi -{ sleep 30; /media/mmc/wz_mini/run_mmc.sh > /media/mmc/wz_mini/log/wz_mini_hacks.log; } & +{ sleep 30; /media/mmc/wz_mini/run_mmc.sh 22> /media/mmc/wz_mini/log/wz_mini_hacks.log; } & /linuxrc diff --git a/SD_ROOT/wz_mini/run_mmc.sh b/SD_ROOT/wz_mini/run_mmc.sh index 8710292..db1dd5b 100755 --- a/SD_ROOT/wz_mini/run_mmc.sh +++ b/SD_ROOT/wz_mini/run_mmc.sh @@ -77,7 +77,7 @@ if [[ "$DISABLE_FW_UPGRADE" == "true" ]]; then fi if [[ "$REMOTE_SPOTLIGHT" == "true" ]]; then - socat pty,link=/dev/ttyUSB0,raw tcp:$REMOTE_SPOTLIGHT_HOST:9000 + /media/mmc/wz_mini/bin/socat pty,link=/dev/ttyUSB0,raw tcp:$REMOTE_SPOTLIGHT_HOST:9000 fi echo "set hostname"