From 50eb0862e0cb29f674d409ee6a06ea1c79231847 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 9 Feb 2025 14:08:02 -0500 Subject: [PATCH] Update fctelem.sh changed to fctelem/public_html --- groundstation/fctelem.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/groundstation/fctelem.sh b/groundstation/fctelem.sh index cc0ddd69..82a2bd6c 100755 --- a/groundstation/fctelem.sh +++ b/groundstation/fctelem.sh @@ -50,17 +50,19 @@ sudo systemctl stop rtl_tcp sudo systemctl stop openwebrx -FILE=/home/pi/CubeSatSim/groundstation/public_html +# FILE=/home/pi/CubeSatSim/groundstation/public_html +FILE=/home/pi/CubeSatSim/fctelem/public_html if [ -f "$FILE" ]; then echo "Making public_html directory" - mkdir /home/pi/CubeSatSim/groundstation/public_html + mkdir /home/pi/fctelem/public_html + mkdir /home/pi/fctelem/public_html/images fi -cd /home/pi/CubeSatSim/groundstation/public_html +cd /home/pi/fctelem/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/public_html/image_file.jpeg +cp /home/pi/CubeSatSim/sstv/sstv_image_1_320_x_256.jpg ./image_file.jpeg python3 -m http.server &