From cf5eb553f09a474662a37995f34508eec330016a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 16 Sep 2026 15:45:19 -0400 Subject: [PATCH] Update pacsatsim.sh fix echo --- pacsatsim.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pacsatsim.sh b/pacsatsim.sh index 0d75f576..cd1a22c9 100755 --- a/pacsatsim.sh +++ b/pacsatsim.sh @@ -163,17 +163,17 @@ fi if [[ $(grep 'bullseye' /etc/os-release) ]]; then echo "Pi OS is Bullseye (Debian 11)" - raspistill -o /home/pi/CubeSatSim/camera.jpg -w 32 -h 24 &>/dev/null + raspistill -o /home/pi/CubeSatSim/camera.jpg -w 32 -h 24 &>/dev/null elif [[ $(grep 'bookworm' /etc/os-release) ]]; then echo "Pi OS is Bookworm (Debian 12)" - rpicam-still -o /home/pi/CubeSatSim/camera.jpg --width 32 --height 24 &>/dev/null + rpicam-still -o /home/pi/CubeSatSim/camera.jpg --width 32 --height 24 &>/dev/null elif [[ $(grep 'trixie' /etc/os-release) ]]; then echo "Pi OS is Trixie (Debian 13)" - rpicam-still -o /home/pi/CubeSatSim/camera.jpg --width 32 --height 24 &>/dev/null + rpicam-still -o /home/pi/CubeSatSim/camera.jpg --width 32 --height 24 &>/dev/null fi -echo "Copying camera.jpg to pacsat txt directory" - cp /home/pi/CubeSatSim/camera.jpg /home/pi/PacSat/pacsat/img/camera.jpg +echo "Taking camera image and copying to pacsat img directory" +cp /home/pi/CubeSatSim/camera.jpg /home/pi/PacSat/pacsat/img/camera.jpg value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null