From ad8485ab6f229845b2dd943f6ee783d2b364d82c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 8 Feb 2025 10:33:43 -0500 Subject: [PATCH] Update fctelem.sh copy initial image --- groundstation/fctelem.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/groundstation/fctelem.sh b/groundstation/fctelem.sh index d448ca6e..20958df4 100755 --- a/groundstation/fctelem.sh +++ b/groundstation/fctelem.sh @@ -51,7 +51,7 @@ sudo systemctl stop rtl_tcp sudo systemctl stop openwebrx FILE=/home/pi/CubeSatSim/groundstation/public_html -if [ ! -f "$FILE" ]; then +if [ -f "$FILE" ]; then echo "Making public_html directory" mkdir /home/pi/CubeSatSim/groundstation/public_html fi @@ -60,7 +60,7 @@ cd /home/pi/CubeSatSim/groundstation/public_html cp /home/pi/CubeSatSim/groundstation/index.html . -cp /home/pi/CubeSatSim/sstv/sstv_image_1_320_x_256.jpg /home/pi/CubeSatSim/groundstation/image_file.jpeg +cp /home/pi/CubeSatSim/sstv/sstv_image_1_320_x_256.jpg /home/pi/CubeSatSim/groundstation/public_html/image_file.jpeg python3 -m http.server &