From e1f8fa8c0a896dbac57fee2551c1bd5078c04245 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 6 Sep 2026 14:54:49 -0400 Subject: [PATCH] Update install turn C2C on and off to activate MicVolume --- install | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/install b/install index b9e794d7..212967a4 100755 --- a/install +++ b/install @@ -763,6 +763,15 @@ else FLAG=1 fi +ech "Turn Command and Control on and off to activate MicVolume" +touch /home/pi/CubeSatSim/command_control +sudo systemctl start command +sleep 1 +sudo rm /home/pi/CubeSatSim/command_control +sudo systemctl restart command +sudo alsactl init +/home/pi/CubeSatSim/config -L 75 + FILE=/etc/systemd/system/pacsatsim.service if [ -f "$FILE" ]; then if [[ $(diff /home/pi/CubeSatSim/systemd/pacsatsim.service /etc/systemd/system/pacsatsim.service) ]]; then @@ -869,11 +878,6 @@ else FLAG=1 fi -sudo alsactl init -/home/pi/CubeSatSim/config -L 75 -sudo alsactl init -/home/pi/CubeSatSim/config -L 75 - FILE=/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg if [ ! -f "$FILE" ]; then echo "Copying SSTV image 1."