Start radio configure: rigctld for the radio, with WSJT-X, JS8Call and Pat on it
`radio configure` asks the radio what it is and the baud rate it answers at, then runs rigctld for it as the hampack-rigctld systemd user service on 127.0.0.1:4532, using the port's /dev/serial/by-id name. WSJT-X (the Flatpak) and JS8Call get Hamlib NET rigctl with PTT by CAT; Pat gets a "hampack" rig, used by ARDOP and VARA where they had none. Rig settings you've set are left alone unless --force, each file is backed up first, and programs that are running are skipped. With several radios, give the number `radio` now lists; --model sets the Hamlib model for a radio it can't tell apart from others. Sound cards are left for you to choose. hampackremove stops and removes the service. PLAN.md lists the programs still to do; TEST.md has the checks on a real radio. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e71f1e59c2
commit
eddd363e86
@@ -256,6 +256,16 @@ update-mime-database "$HOME/.local/share/mime" &> /dev/null
|
||||
|
||||
report_unrecorded
|
||||
|
||||
# The rigctld service `radio configure` set up. The programs it pointed at
|
||||
# rigctld keep those settings, and the backups it made of them
|
||||
RIGCTLD_UNIT="${XDG_CONFIG_HOME:-$HOME/.config}/systemd/user/hampack-rigctld.service"
|
||||
if [ -f "$RIGCTLD_UNIT" ]; then
|
||||
echo "Removing the rigctld service radio configure set up..."
|
||||
systemctl --user disable --now hampack-rigctld 2> /dev/null
|
||||
rm -f "$RIGCTLD_UNIT"
|
||||
systemctl --user daemon-reload 2> /dev/null
|
||||
fi
|
||||
|
||||
# Take you out of the groups update.sh added you to
|
||||
for group in $(recorded_installs added-groups); do
|
||||
echo "Removing you from the $group group..."
|
||||
|
||||
Reference in New Issue
Block a user