From ce5835fffcaf1d8bd8913148609333b7154b7306 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 30 Jun 2026 11:05:57 -0400 Subject: [PATCH] Update install add rigctld.service install --- install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/install b/install index 18d10ab5..1ce24c20 100755 --- a/install +++ b/install @@ -718,6 +718,22 @@ else FLAG=1 fi +FILE=/etc/systemd/system/rigctld.service +if [ -f "$FILE" ]; then + if [[ $(diff /home/pi/CubeSatSim/systemd/rigctld.service /etc/systemd/system/rigctld.service) ]]; then + echo "changed rigctld.service." + sudo cp /home/pi/CubeSatSim/systemd/rigctld.service /etc/systemd/system/rigctld.service + FLAG=1 + else + echo "no change to rigctld.service." + fi +else + echo "creating rigctld.service." + sudo cp /home/pi/CubeSatSim/systemd/rigctld.service /etc/systemd/system/rigctld.service + FLAG=1 +fi + + FILE=/etc/asound.conf if [ -f "$FILE" ]; then if [[ $(diff /home/pi/CubeSatSim/asound.conf /etc/asound.conf) ]]; then