mirror of
https://github.com/AG7GN/nexus-utilities.git
synced 2025-06-01 14:20:15 -07:00
Add notification when audio devices are set to null for pat and APRS GUIs
This commit is contained in:
parent
a09dbc7e75
commit
7c1d5a4f7d
@ -16,7 +16,7 @@
|
|||||||
#%
|
#%
|
||||||
#================================================================
|
#================================================================
|
||||||
#- IMPLEMENTATION
|
#- IMPLEMENTATION
|
||||||
#- version ${SCRIPT_NAME} 1.0.8
|
#- version ${SCRIPT_NAME} 1.0.9
|
||||||
#- author Steve Magnuson, AG7GN
|
#- author Steve Magnuson, AG7GN
|
||||||
#- license CC-BY-SA Creative Commons License
|
#- license CC-BY-SA Creative Commons License
|
||||||
#- script_id 0
|
#- script_id 0
|
||||||
@ -499,6 +499,11 @@ do
|
|||||||
|
|
||||||
# Retrieve saved settings or defaults if there are no saved settings
|
# Retrieve saved settings or defaults if there are no saved settings
|
||||||
loadSettings $CONFIG_FILE
|
loadSettings $CONFIG_FILE
|
||||||
|
if [[ ${F[_ADEVICE_CAPTURE_]} == "null" || ${F[_ADEVICE_PLAY_]} == "null" ]]
|
||||||
|
then
|
||||||
|
yad --center --title="$TITLE" --borders=10 --text "<big><b>Audio device(s) are not set!</b></big>\nClick <b>Continue</b> below, then select the <b>Configure TNC</b> tab to select audio devices and PTT settings." --text-align=center --button="Continue":0 --buttons-layout=center
|
||||||
|
fi
|
||||||
|
|
||||||
YAD_PIDs=()
|
YAD_PIDs=()
|
||||||
|
|
||||||
# Start the monitor tab
|
# Start the monitor tab
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#%
|
#%
|
||||||
#================================================================
|
#================================================================
|
||||||
#- IMPLEMENTATION
|
#- IMPLEMENTATION
|
||||||
#- version ${SCRIPT_NAME} 1.8.0
|
#- version ${SCRIPT_NAME} 1.8.1
|
||||||
#- author Steve Magnuson, AG7GN
|
#- author Steve Magnuson, AG7GN
|
||||||
#- license CC-BY-SA Creative Commons License
|
#- license CC-BY-SA Creative Commons License
|
||||||
#- script_id 0
|
#- script_id 0
|
||||||
@ -442,6 +442,12 @@ do
|
|||||||
rm -f $TMPDIR/CONFIGURE_TNC.txt $TMPDIR/CONFIGURE_PAT.txt
|
rm -f $TMPDIR/CONFIGURE_TNC.txt $TMPDIR/CONFIGURE_PAT.txt
|
||||||
rm -f /tmp/kisstnc
|
rm -f /tmp/kisstnc
|
||||||
loadSettings
|
loadSettings
|
||||||
|
|
||||||
|
if [[ ${F[_ADEVICE_CAPTURE_]} == "null" || ${F[_ADEVICE_PLAY_]} == "null" ]]
|
||||||
|
then
|
||||||
|
yad --center --title="Direwolf TNC and pat $VERSION" --borders=10 --text "<big><b>Audio device(s) are not set!</b></big>\nClick <b>Continue</b> below, then select the <b>Configure TNC</b> tab to select audio devices and PTT settings." --text-align=center --button="Continue":0 --buttons-layout=center
|
||||||
|
fi
|
||||||
|
|
||||||
YAD_PIDs=()
|
YAD_PIDs=()
|
||||||
|
|
||||||
# Start the tail window tab
|
# Start the tail window tab
|
||||||
|
Loading…
x
Reference in New Issue
Block a user