Update update with .asoundrc check and update

fc-mic
Alan Johnston 7 months ago committed by GitHub
parent 692a3421ac
commit 80492c6c26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -119,6 +119,21 @@ else
FLAG=1 FLAG=1
fi fi
FILE=/root/.asoundrc
if [ -f "$FILE" ]; then
if [[ $(diff /home/pi/CubeSatSim/asoundrc /root/.asoundrc) ]]; then
echo "changed .asoundrc for root user."
sudo cp /home/pi/CubeSatSim/asoundrc /root/.asoundrc
FLAG=1
else
echo "no change to .asoundrc for root user."
fi
else
echo "creating .asoundrc for root user."
sudo cp /home/pi/CubeSatSim/asoundrc /root/.asoundrc
FLAG=1
fi
FILE=/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg FILE=/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg
if [ ! -f "$FILE" ]; then if [ ! -f "$FILE" ]; then
echo "Copying SSTV image 1." echo "Copying SSTV image 1."

Loading…
Cancel
Save

Powered by TurnKey Linux.