|
|
|
|
@ -49,17 +49,13 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FILE=/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg
|
|
|
|
|
if [ -f "$FILE" ]; then
|
|
|
|
|
;
|
|
|
|
|
else
|
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
|
echo "Copying SSTV image 1"
|
|
|
|
|
cp /home/pi/CubeSatSim/sstv/sstv_image_1_320_x_256.jpg /home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FILE=/home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg
|
|
|
|
|
if [ -f "$FILE" ]; then
|
|
|
|
|
;
|
|
|
|
|
else
|
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
|
echo "Copying SSTV image 2"
|
|
|
|
|
cp /home/pi/CubeSatSim/sstv/sstv_image_2_320_x_256.jpg /home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg
|
|
|
|
|
fi
|
|
|
|
|
|