mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
Fixed error handling if user neglected to select their ardopc location.
This commit is contained in:
@@ -586,7 +586,7 @@ echo "Tri-Mode has been configured.
|
||||
|
||||
Procedure:
|
||||
|
||||
1. Launch FLRIG, configure transceiver for your setup
|
||||
1. Launch FLRIG, configure transceiver for your setup.
|
||||
2. Launch the ardop-status app.
|
||||
3. Enable RIGTLD and PAVUCONTROL, select Toggle. They should now have PID's listed.
|
||||
4. You can now enable ARDOPC and ARDOP_GUI.
|
||||
@@ -697,7 +697,7 @@ ARDOPLOC=$(cat /tmp/trimode-selections | awk -F "," '{print $1}')
|
||||
#This catches if the user failed to select the ardopc location and sends them back to try again
|
||||
if [[ ! -f $ARDOPLOC ]]; then
|
||||
echo "You must select your ardop file before continuing." | yad --center --text-info --wrap --title=TriMode --button="Start Over:1" ${c} ${r} ||
|
||||
{ selection_dialogs; return; }
|
||||
{ easy_button; return; }
|
||||
fi
|
||||
|
||||
RIGCTLCMD="socat pty,link=/tmp/rigctl,waitslave,b38400 tcp:localhost:4532,retry &
|
||||
|
||||
Reference in New Issue
Block a user