Update pacsatsim.sh config -z

pull/451/head
Alan Johnston 1 week ago committed by GitHub
parent 9ed1508701
commit 481df0dfc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -161,19 +161,7 @@ if [ ! -d "/home/pi/PacSat" ]; then
# exit # exit
fi fi
if [[ $(grep 'bullseye' /etc/os-release) ]]; then /home/pi/CubeSatSim/config -z
echo "Pi OS is Bullseye (Debian 11)"
raspistill -o /home/pi/CubeSatSim/camera.jpg -w 86 -h 64 &>/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 86 --height 64 -q 70 &>/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 86 --height 64 -q 70 &>/dev/null
fi
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` value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null echo "$value" > /dev/null

Loading…
Cancel
Save

Powered by TurnKey Linux.