From 9fe4ca6b552bd13072e68c7829bba1064eca8b71 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 4 Mar 2022 18:38:25 -0600 Subject: [PATCH 01/16] update --- changelog | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index 2f4236a..e7de501 100644 --- a/changelog +++ b/changelog @@ -1,7 +1,9 @@ -release=2.6.1 +release=2.7.0 Changelog +2.7.0 add mobi-pair script to assist with pairing mobilinkd devices + improve mobilink modem start 2.6.1 improve GPS weather accuracy update ARDOP modem start update Packet modem start From 4f8753e88753547a350293f7264274d1b18b5920 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 4 Mar 2022 18:38:59 -0600 Subject: [PATCH 02/16] add mobilinkd pairing --- mobilink | 68 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 54 insertions(+), 14 deletions(-) diff --git a/mobilink b/mobilink index 0a7aa6c..a1c5629 100755 --- a/mobilink +++ b/mobilink @@ -2,6 +2,7 @@ #script to connect mobilinkd TNC for ax25 #20200602 +#20220304 last edit KM4ACK ################################################################ # # # # # # # # # ##### # # # @@ -21,7 +22,41 @@ clear KISS=$(pidof kissattach) DIRE=$(pidof direwolf) ARDOP=$(pidof piardopc) +TMPFILE=/run/user/$UID/scan.txt +EXISTING=`bluetoothctl paired-devices | grep Mobilinkd` +#see if we already have a TNC paired +#if [ -z "$EXISTING" ]; then +#yad --title="Mobilinkd Error" --width=400 --height=100 \ +#--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center --on-top \ +#--center --form --text="\r\r\r\rNo Mobilinkd devices paired with this pi. \ +#To pair, turn your Mobilinkd on, open a terminal window, and run\r ~/patmenu2/mobi-pair\rand then start \ +#the mobilinkd modem again." \ +#--button=gtk-ok +#exit 1 +#fi + +#see if we already have a TNC paired +if [ -z "$EXISTING" ]; then +yad --title="Mobilinkd Error" --width=400 --height=100 \ +--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center --on-top \ +--center --form --text="\r\r\r\rNo Mobilinkd devices paired with this pi. \ +Turn on your Mobilinkd before attempting to pair." \ +--button="Pair Now:1" \ +--button="Exit:2" +BUT=$? + + if [ "$BUT" = '2' ] || [ "$BUT" = '252' ]; then + exit + elif [ "$BUT" = '1' ]; then + lxterminal -e $HOME/patmenu2/mobi-pair + exit + fi + +fi + + +#verify other services that might interfere aren't running if [ -n "$KISS" ] || [ -n "$DIRE" ] || [ -n "$ARDOP" ]; then yad --title="Stop Modems" --width=400 --height=100 \ --image $LOGO --window-icon=$LOGO --image-on-top --text-align=center --on-top \ @@ -30,6 +65,7 @@ stop all modems and try again." \ --button=gtk-ok exit 1 fi + #give user some feedback yad --center --timeout=10 --timeout-indicator=top --no-buttons --height=300 --width=300 \ --title="Scanning" --image $LOGO --window-icon=$LOGO --image-on-top \ @@ -37,31 +73,28 @@ yad --center --timeout=10 --timeout-indicator=top --no-buttons --height=300 --wi Another notice will appear once a connection to the device is established." & #scan for bluetooth device and write to file -hcitool scan > $HOME/Desktop/scan.txt -echo "Scan complete" +hcitool scan > $TMPFILE #Decide if its a TNC 2 or 3 -TNC2=$(cat $HOME/Desktop/scan.txt | grep -i TNC2) -TNC3=$(cat $HOME/Desktop/scan.txt | grep -i TNC3) +TNC2=$(grep -i TNC2 $TMPFILE) +TNC3=$(grep -i TNC3 $TMPFILE) if [ -z "$TNC2" ] then -MAC=$(cat $HOME/Desktop/scan.txt | grep -i mobi | awk '{ print $1 }') +MAC=$(grep -i mobi $TMPFILE | awk '{ print $1 }') TNC=3 elif [ -z "$TNC3" ] then -MAC=$(cat $HOME/Desktop/scan.txt | grep -i mobi | awk '{ print $1 }') +MAC=$(grep -i mobi $TMPFILE | awk '{ print $1 }') TNC=2 fi #set correct connection commmand if [ $TNC = "2" ] then -#CONNECT="sudo rfcomm connect /dev/rfcomm0 $MAC" CONNECT="sudo rfcomm bind /dev/rfcomm0 $MAC" elif [ $TNC = "3" ] then CONNECT="sudo rfcomm bind /dev/rfcomm0 $MAC 6" -#CONNECT="sudo rfcomm connect /dev/rfcomm0 $MAC 6" fi #See if device was found and connect if found @@ -71,27 +104,27 @@ yad --title="Mobilinkd MODEM" --width=400 --height=100 \ --image $LOGO --window-icon=$LOGO --image-on-top --text-align=center --on-top \ --center --form --text="\r\r\r\rMobilinkd NOT FOUND" \ --button=gtk-ok - rm $HOME/Desktop/scan.txt + rm $TMPFILE exit 1 else #stop things that might conflict - sudo killall js8call kissattach direwolf >> /dev/null 2>&1 + sudo killall kissattach direwolf >> /dev/null 2>&1 yad --center --timeout=6 --timeout-indicator=top --no-buttons --height=300 --width=300 \ --title="Detected" --image $LOGO --window-icon=$LOGO --image-on-top \ --text="Mobilinkd TNC $TNC detected. Just a few more seconds." & - rm $HOME/Desktop/scan.txt + rm $TMPFILE #create bluetooth->serial connection $CONNECT & sleep 5 -echo "starting kissattach for winlink" + #create kissattach needed for winlink connections sudo kissattach /dev/rfcomm0 wl2k & - echo "sleeping 3 seconds"; sleep 3 + sleep 3 sudo kissparms -c 1 -p wl2k fi -#verify that piardopc is running +#verify that kissattach is running PIDPIC=$(pidof kissattach) if [ -z "$PIDPIC" ] then @@ -106,6 +139,13 @@ yad --title="Mobilinkd MODEM" --width=400 --height=100 \ --button=gtk-ok & fi +#restart pat so terminal window correctly reflects rig control +sudo systemctl restart pat@`whoami` + +source $HOME/patmenu2/config + +#open pat inbox in browser +export DISPLAY=:0 && xdg-open http://127.0.0.1:$PORT > /dev/null 2>&1 & From 787032a7e171b33ae401d83648f6711e0a66af10 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 4 Mar 2022 18:39:16 -0600 Subject: [PATCH 03/16] initial commit --- mobi-pair | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100755 mobi-pair diff --git a/mobi-pair b/mobi-pair new file mode 100755 index 0000000..c4f9b5f --- /dev/null +++ b/mobi-pair @@ -0,0 +1,78 @@ +#!/bin/bash + +#this script attempts to pair a Mobilinkd TNC with the Pi. +#04MARCH2022 KM4ACK + +EXISTING=`bluetoothctl paired-devices | grep Mobilinkd` +TMP=/run/user/$UID/mobi.txt + +#see if we already have a TNC paired +if [ -n "$EXISTING" ]; then +clear;echo;echo +cat </dev/null; then +echo "We are missing a dependency....expect" +echo "Hang on while it is installed" +echo "You can press ctrl+c to exit" +sleep 3 +sudo apt update +sudo apt install -y expect +fi + +#create connect script in RAM memory. (Called later from this script) +cat << "MYFILE" > /run/user/$UID/connect +#!/usr/bin/expect -f + +set prompt "#" +set address [lindex $argv 0] + +spawn sudo bluetoothctl +expect -re $prompt +send "scan on\r" +send_user "\nStandby\r" +sleep 10 +send_user "\nStill working\r" +send "scan off\r" +expect "Controller" +send "pair $address\r" +sleep 5 +send "1234\r" +sleep 3 +send_user "\nShould be paired now.\r" +send "quit\r" +expect eof +MYFILE +chmod +x /run/user/$UID/connect + +#give user some feedback +echo;echo; clear +cat < $TMP +echo "Discovery complete. TNC found.";echo +MAC=`grep -i TNC /run/user/$UID/mobi.txt | awk '{print $1}'` +#verify we have a MAC address to work with + if [ -z "$MAC" ]; then + echo "TNC not found. Can't continue!" + echo "Confirm that the TNC is on and has" + echo "a fast flashing blue light." + exit 1 + fi +echo "Starting the pairing process....please stand by" +#call the connect script +/run/user/$UID/connect $MAC >/dev/null 2>&1 +echo;echo "The pairing was probably successful" +sleep 3 From 99bdc47d6d69dea79f8ac16e787ca07ca4fc3d9e Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 4 Mar 2022 19:03:16 -0600 Subject: [PATCH 04/16] add user note --- mobi-pair | 1 + 1 file changed, 1 insertion(+) diff --git a/mobi-pair b/mobi-pair index c4f9b5f..3008c8e 100755 --- a/mobi-pair +++ b/mobi-pair @@ -75,4 +75,5 @@ echo "Starting the pairing process....please stand by" #call the connect script /run/user/$UID/connect $MAC >/dev/null 2>&1 echo;echo "The pairing was probably successful" +echo "Start the Mobilinkd modem again" sleep 3 From 80fe2aaf3df732fb400e15a747e18a5091a336b1 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 4 Mar 2022 19:09:33 -0600 Subject: [PATCH 05/16] update --- changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog b/changelog index e7de501..8cd7a1c 100644 --- a/changelog +++ b/changelog @@ -4,6 +4,7 @@ release=2.7.0 Changelog 2.7.0 add mobi-pair script to assist with pairing mobilinkd devices improve mobilink modem start + clean up initial config file 2.6.1 improve GPS weather accuracy update ARDOP modem start update Packet modem start From 2e9749ab695ad6c70366a30b43047613a9f64a2d Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 4 Mar 2022 19:09:45 -0600 Subject: [PATCH 06/16] clean up file --- config | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/config b/config index 1c8cf2d..30b43c8 100644 --- a/config +++ b/config @@ -1,19 +1,10 @@ #20191230 KM4ACK - -#This setup is designed to work with a VOX soundcard (ie Signalink) -#If using a VOX soundcard or radio with a VOX soundcard built in -#simply edit the call sign below to yours and change -#RIGCONTROL=no to RIGCONTROL=yes below. -#Now test the setup. Be sure you have FLRIG open -#and configured for your radio. -#AMRRON operators see bottom of this file for trimode. - +#last edit 04MARCH2022 KM4ACK #change next line to your call sign MYCALLSIGN=N0CALL -#enter your piardopc command on the line below -#Be sure to not delete the quotation marks. +#command to start ARDOP modem ARDOP="$HOME/ardop/./piardopc 8515 plughw:1,0 plughw:1,0" #Path to ardop-gui if installed @@ -52,22 +43,18 @@ MODEHF=USB #Mode used for packet digital comms on your radio MODE2M=FM -#port number used by pat html service -#pat default is 8080. I prefer 5000 +#port number for pat inbox ie. 127.0.0.1:8080 PORT=8080 #Path to log file LOG=$HOME/Documents/mylog.txt #Below this line is only useful to AMRRON operators. Others shouldn't edit below this line. -#NOTE:The amrron portion of this script is still experimental. +#NOTE:The AMRRON portion of this script is still experimental. #set next line to yes for tri-mode setup AMRRON=no -#amrron operaters should save/exit this config file after setting above to yes and then run -# bash ~/patmenu/trimode -#to enable trimode ops From cda80b7b3718af3ed409ccbad8232a9bcda08ecb Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 4 Mar 2022 19:22:37 -0600 Subject: [PATCH 07/16] add sleep on errors --- mobi-pair | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobi-pair b/mobi-pair index 3008c8e..cc31679 100755 --- a/mobi-pair +++ b/mobi-pair @@ -13,6 +13,7 @@ cat < Date: Mon, 7 Mar 2022 07:08:18 -0600 Subject: [PATCH 08/16] initial commit --- mobi-wired | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100755 mobi-wired diff --git a/mobi-wired b/mobi-wired new file mode 100755 index 0000000..6c90add --- /dev/null +++ b/mobi-wired @@ -0,0 +1,57 @@ +#!/bin/bash + +MYPATH=$HOME/patmenu2 +LOGO=$MYPATH/pmlogo.png +KISS=$(pidof kissattach) +DIRE=$(pidof direwolf) +ARDOP=$(pidof piardopc) +MOBIUSB=$(ls -l /dev/serial/by-id | grep Mobilinkd | awk '{print $NF}' | sed 's/.*tty/tty/') + +#verify mobilinkd is plugged in and detected +if [ -z "$MOBIUSB" ]; then +yad --title="Not Detected" --width=400 --height=100 \ +--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center --on-top \ +--center --form --text="\r\r\r\rThe Mobilinkd TNC wasn't detected. Please \ +connect the Mobilinkd TNC to the Pi with a USB cable." \ +--button=gtk-ok +exit 1 +fi + +#verify other services that might interfere aren't running +if [ -n "$KISS" ] || [ -n "$DIRE" ] || [ -n "$ARDOP" ]; then +yad --title="Stop Modems" --width=400 --height=100 \ +--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center --on-top \ +--center --form --text="\r\r\r\rIt appears that other modems are running. Please \ +stop all modems and try again." \ +--button=gtk-ok +exit 1 +fi + + +#create kissattach needed for winlink connections +sudo kissattach /dev/$MOBIUSB wl2k & +sleep 3 +sudo kissparms -c 1 -p wl2k + +#verify that kissattach is running +PIDPIC=$(pidof kissattach) +if [ -z "$PIDPIC" ] +then +yad --title="FAILED" --width=400 --height=100 \ + --image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \ + --center --form --text="The Mobilinkd Modem FAILED to Start" \ + --button=gtk-ok +else +yad --title="Mobilinkd MODEM" --width=400 --height=100 \ + --image $LOGO --window-icon=$LOGO --image-on-top --text-align=center --on-top \ + --center --form --text="\r\r\r\rThe Mobilinkd Modem has Started" \ + --button=gtk-ok & +fi + +#restart pat so terminal window correctly reflects rig control +sudo systemctl restart pat@`whoami` + +source $HOME/patmenu2/config + +#open pat inbox in browser +export DISPLAY=:0 && xdg-open http://127.0.0.1:$PORT > /dev/null 2>&1 & \ No newline at end of file From 927559d99ff6a7b6758d284a17857d58897ffae0 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Mon, 7 Mar 2022 07:08:30 -0600 Subject: [PATCH 09/16] add mobilinkd wired --- patmenu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patmenu b/patmenu index ef1d920..9b07ade 100755 --- a/patmenu +++ b/patmenu @@ -37,7 +37,8 @@ yad --form --width=420 --text-align=center --center --title="Pat Menu" --text-al --text="Pat Menu by KM4ACK\rv$VERSION" \ --field="Start ARDOP Modem":fbtn 'bash -c "$MYPATH/start-pat-ardop"' \ --field="Start Packet Modem":fbtn 'bash -c "$MYPATH/start-pat2m"' \ ---field="Start Mobilinkd Modem (BETA)":fbtn 'bash -c "$MYPATH/mobilink"' \ +--field="Start Mobilinkd Modem Bluetooth":fbtn 'bash -c "$MYPATH/mobilink"' \ +--field="Start Mobilinkd Modem Wired":fbtn 'bash -c "$MYPATH/mobi-wired"' \ --field="Stop Modems":fbtn 'bash -c "$MYPATH/stop-modems"' \ --field="Find Winlink Gateways":fbtn 'bash -c "kill -USR1 $YAD_PID; $MYPATH/find2"' \ --field="Pat Auto Connect":fbtn 'bash -c "kill -USR1 $YAD_PID; source $MYPATH/pat-functions; AUTOPAT"' \ From ad68ebe19edfc18f237e21568f1e4aacb49ff2e8 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Mon, 7 Mar 2022 07:08:47 -0600 Subject: [PATCH 10/16] update --- changelog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index 8cd7a1c..00b847d 100644 --- a/changelog +++ b/changelog @@ -3,7 +3,8 @@ release=2.7.0 Changelog 2.7.0 add mobi-pair script to assist with pairing mobilinkd devices - improve mobilink modem start + add mobilinkd wired modem connection (Doesn't work with version 2) + improve mobilinkd modem start clean up initial config file 2.6.1 improve GPS weather accuracy update ARDOP modem start From e99ca879a22122504606d429962bd938e1f30495 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Mon, 7 Mar 2022 07:13:53 -0600 Subject: [PATCH 11/16] add notes --- mobi-wired | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mobi-wired b/mobi-wired index 6c90add..7e6a234 100755 --- a/mobi-wired +++ b/mobi-wired @@ -1,5 +1,11 @@ #!/bin/bash +#This script will connect Mobilinkd TNC3 through a USB connection +#and make the TNC available with Pat through an ax25 connection. +#This script will NOT work with the Mobilinkd TNC2 as it did not +#support a USB connection. +#07MARCH2022 KM4ACK + MYPATH=$HOME/patmenu2 LOGO=$MYPATH/pmlogo.png KISS=$(pidof kissattach) From bd5072fc1a4b16b5f4eee2d94291d3a4994f6251 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Tue, 8 Mar 2022 08:30:32 -0600 Subject: [PATCH 12/16] update --- changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog b/changelog index 00b847d..7e6b43b 100644 --- a/changelog +++ b/changelog @@ -6,6 +6,7 @@ Changelog add mobilinkd wired modem connection (Doesn't work with version 2) improve mobilinkd modem start clean up initial config file + add new custom warning feature 2.6.1 improve GPS weather accuracy update ARDOP modem start update Packet modem start From 6482640f6f0e2ee34314dcca22c2d7ec257d74ca Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Tue, 8 Mar 2022 08:30:47 -0600 Subject: [PATCH 13/16] add custom warning --- manage-menu-functions | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/manage-menu-functions b/manage-menu-functions index 8863f85..484837c 100644 --- a/manage-menu-functions +++ b/manage-menu-functions @@ -25,6 +25,8 @@ SETTINGS=$(yad --form --width=600 --text-align=center --center --title="Pat Menu --field="Pat Port" "$PORT" \ --field="Log File Location" "$LOG" \ --field="AmRRON":CB "no|yes" \ +--field="Custom Warning":CB "no|yes" \ +--field="Warning Message" "$WARNMSG" \ --button="Create":2 \ --button="Cancel":1) BUT=$? @@ -47,6 +49,8 @@ MODE2M=$(echo $SETTINGS | awk -F "|" '{print $11}') PORT=$(echo $SETTINGS | awk -F "|" '{print $12}') LOG=$(echo $SETTINGS | awk -F "|" '{print $13}') AMRRON=$(echo $SETTINGS | awk -F "|" '{print $14}') +WARN=$(echo $SETTINGS | awk -F "|" '{print $15}') +WARNMSG=$(echo $SETTINGS | awk -F "|" '{print $16}') NAME=$(yad --form --width=600 --text-align=center --center --title="Name?" --text-align=center \ --image $LOGO --window-icon=$LOGO --image-on-top --separator="|" --item-separator="|" \ @@ -81,6 +85,8 @@ echo "MODE2M=$MODE2M" >> $CONFIGTMP echo "PORT=$PORT" >> $CONFIGTMP echo "LOG=$LOG" >> $CONFIGTMP echo "AMRRON=$AMRRON" >> $CONFIGTMP +echo "WARN=$WARN" >> $CONFIGTMP +echo "WARNMSG=\"$WARNMSG\"" >> $CONFIGTMP CHECKFILE=$(ls $MYPATH | grep $NEWCONFIG) if [ -z "$CHECKFILE" ];then cp $CONFIGTMP $MYPATH/$NEWCONFIG @@ -175,6 +181,12 @@ else AMRRON="no|yes" fi +if [ "$WARN" = 'yes' ]; then +WARN="yes|no" +else +WARN="no|yes" +fi + SETTINGS=$(yad --form --width=600 --text-align=center --center --title="Pat Menu Settings" --text-align=center \ --image $LOGO --window-icon=$LOGO --image-on-top --separator="|" --item-separator="|" \ --text="Pat Menu Settings by KM4ACK" \ @@ -192,6 +204,8 @@ SETTINGS=$(yad --form --width=600 --text-align=center --center --title="Pat Menu --field="Pat Port" "$PORT" \ --field="Log File Location" "$LOG" \ --field="AmRRON":CB "$AMRRON" \ +--field="Custom Warning":CB "$WARN" \ +--field="Warning Message" "$WARNMSG" \ --button="Update":2 \ --button="Cancel":1) BUT=$? @@ -214,6 +228,8 @@ MODE2M=$(echo $SETTINGS | awk -F "|" '{print $11}') PORT=$(echo $SETTINGS | awk -F "|" '{print $12}') LOG=$(echo $SETTINGS | awk -F "|" '{print $13}') AMRRON=$(echo $SETTINGS | awk -F "|" '{print $14}') +WARN=$(echo $SETTINGS | awk -F "|" '{print $15}') +WARNMSG=$(echo $SETTINGS | awk -F "|" '{print $16}') echo "#Config file for Pat Menu" > $CONFIGTMP echo "#20200429 KM4ACK" >> $CONFIGTMP @@ -231,6 +247,8 @@ echo "MODE2M=$MODE2M" >> $CONFIGTMP echo "PORT=$PORT" >> $CONFIGTMP echo "LOG=$LOG" >> $CONFIGTMP echo "AMRRON=$AMRRON" >> $CONFIGTMP +echo "WARN=$WARN" >> $CONFIGTMP +echo "WARNMSG=\"$WARNMSG\"" >> $CONFIGTMP cp $CONFIGTMP $CONFIG rm $CONFIGTMP $MAIN & From 62b09bf3c979c8b44ad48e03bb9f21b8b5f209ee Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Tue, 8 Mar 2022 08:31:02 -0600 Subject: [PATCH 14/16] add custom warning --- patmenu | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patmenu b/patmenu index 9b07ade..e5be81a 100755 --- a/patmenu +++ b/patmenu @@ -24,6 +24,15 @@ yad --form --width=420 --text-align=center --center --title="Pat out of Date" -- exit fi +if [ $WARN = 'yes' ] && [ ! -f /run/user/$UID/patwarn.txt ]; then +#give user warning message +yad --form --width=420 --text-align=center --center --title="WARNING!!" --text-align=center \ +--image $LOGO --window-icon=$LOGO --image-on-top --separator="|" --item-separator="|" \ +--text="${WARNMSG}" \ +--button=gtk-ok +touch /run/user/$UID/patwarn.txt +fi + #verify call is set if [ "$MYCALLSIGN" = "N0CALL" ]; then yad --title="N0CALL" --width=400 --height=100 \ From 760026feb97f48b374d5e426ba3ab7c60b3c5f9d Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Wed, 9 Mar 2022 06:16:03 -0600 Subject: [PATCH 15/16] fix path --- manage-pat-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage-pat-functions b/manage-pat-functions index d16371d..69d556c 100644 --- a/manage-pat-functions +++ b/manage-pat-functions @@ -478,7 +478,7 @@ PATV=$(pat version | awk '{print $2}' | sed 's/v0.//' | awk -F "." '{print $1}') if [ $PATV -le 11 ]; then PATPATH=$HOME/.wl2k/ else - PATPATH=$XDGHOME_CONFIG_PATH/ + PATPATH=$XDG_CONFIG_HOME/pat/ fi fi From 7aab749a910047b6839a0758fd42764a80a78e16 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Thu, 10 Mar 2022 07:46:09 -0600 Subject: [PATCH 16/16] update --- changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog b/changelog index 7e6b43b..31a349c 100644 --- a/changelog +++ b/changelog @@ -7,6 +7,7 @@ Changelog improve mobilinkd modem start clean up initial config file add new custom warning feature + fix path for repairing config file 2.6.1 improve GPS weather accuracy update ARDOP modem start update Packet modem start