From 74e8d6da30b83087ef4b36bb617e13ba3a11808d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 25 May 2025 11:01:21 -0400 Subject: [PATCH] Update update add sudo su for root .asoundrc --- update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update b/update index 6c8b2646..a7273cf1 100755 --- a/update +++ b/update @@ -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