|
|
|
|
@ -763,18 +763,6 @@ else
|
|
|
|
|
FLAG=1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
sudo alsactl init
|
|
|
|
|
sleep 5
|
|
|
|
|
echo "Turn Command and Control on and off to activate MicVolume"
|
|
|
|
|
touch /home/pi/CubeSatSim/command_control
|
|
|
|
|
sudo systemctl start command
|
|
|
|
|
sleep 10
|
|
|
|
|
sudo rm /home/pi/CubeSatSim/command_control
|
|
|
|
|
sudo systemctl restart command
|
|
|
|
|
sudo alsactl init
|
|
|
|
|
sleep 5
|
|
|
|
|
/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
|
|
|
|
|
@ -881,6 +869,18 @@ else
|
|
|
|
|
FLAG=1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
sudo alsactl init
|
|
|
|
|
sleep 5
|
|
|
|
|
echo "Turn Command and Control on and off to activate MicVolume"
|
|
|
|
|
touch /home/pi/CubeSatSim/command_control
|
|
|
|
|
sudo systemctl start command
|
|
|
|
|
sleep 10
|
|
|
|
|
sudo rm /home/pi/CubeSatSim/command_control
|
|
|
|
|
sudo systemctl restart command
|
|
|
|
|
sudo alsactl init
|
|
|
|
|
sleep 5
|
|
|
|
|
/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."
|
|
|
|
|
|