Update update add sudo su for root .asoundrc

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

@ -119,6 +119,7 @@ else
FLAG=1
fi
sudo su
FILE=/root/.asoundrc
if [ -f "$FILE" ]; then
if [[ $(diff /home/pi/CubeSatSim/asoundrc /root/.asoundrc) ]]; then
@ -133,6 +134,7 @@ else
sudo cp /home/pi/CubeSatSim/asoundrc /root/.asoundrc
FLAG=1
fi
su pi
FILE=/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg
if [ ! -f "$FILE" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.