diff --git a/dw_aprs_gui.sh b/dw_aprs_gui.sh index 59533cf..df388f7 100755 --- a/dw_aprs_gui.sh +++ b/dw_aprs_gui.sh @@ -16,7 +16,7 @@ #% #================================================================ #- IMPLEMENTATION -#- version ${SCRIPT_NAME} 1.0.8 +#- version ${SCRIPT_NAME} 1.0.9 #- author Steve Magnuson, AG7GN #- license CC-BY-SA Creative Commons License #- script_id 0 @@ -499,6 +499,11 @@ do # Retrieve saved settings or defaults if there are no saved settings loadSettings $CONFIG_FILE + if [[ ${F[_ADEVICE_CAPTURE_]} == "null" || ${F[_ADEVICE_PLAY_]} == "null" ]] + then + yad --center --title="$TITLE" --borders=10 --text "Audio device(s) are not set!\nClick Continue below, then select the Configure TNC tab to select audio devices and PTT settings." --text-align=center --button="Continue":0 --buttons-layout=center + fi + YAD_PIDs=() # Start the monitor tab diff --git a/dw_pat_gui.sh b/dw_pat_gui.sh index 754cd5e..b6b0778 100755 --- a/dw_pat_gui.sh +++ b/dw_pat_gui.sh @@ -15,7 +15,7 @@ #% #================================================================ #- IMPLEMENTATION -#- version ${SCRIPT_NAME} 1.8.0 +#- version ${SCRIPT_NAME} 1.8.1 #- author Steve Magnuson, AG7GN #- license CC-BY-SA Creative Commons License #- script_id 0 @@ -442,6 +442,12 @@ do rm -f $TMPDIR/CONFIGURE_TNC.txt $TMPDIR/CONFIGURE_PAT.txt rm -f /tmp/kisstnc loadSettings + + if [[ ${F[_ADEVICE_CAPTURE_]} == "null" || ${F[_ADEVICE_PLAY_]} == "null" ]] + then + yad --center --title="Direwolf TNC and pat $VERSION" --borders=10 --text "Audio device(s) are not set!\nClick Continue below, then select the Configure TNC tab to select audio devices and PTT settings." --text-align=center --button="Continue":0 --buttons-layout=center + fi + YAD_PIDs=() # Start the tail window tab