created getvaralist / findvara

This commit is contained in:
tb14
2025-01-26 15:19:01 -06:00
parent af2c3b7824
commit 964bf7d8fe
2 changed files with 33 additions and 4 deletions
+32 -3
View File
@@ -1500,6 +1500,7 @@ ed50cbf48ed223efd/raw/efe402285290b46c700d9d29e285c0686b79314f/getardoplist ||
chmod +x $USERDIR/getardoplist && sudo mv $USERDIR/getardoplist /usr/local/bin/ ||
{ ERRCODE="Failed to add getardoplist to /usr/local/bin"; errors; return; }
fi
# Get find ardop script
if ! hash findardop; then
@@ -1507,10 +1508,37 @@ if ! hash findardop; then
a45be3e69decf6def/raw/1aeff0d78f85e86b868a4ba83ebce99e90532f48/findardop ||
{ ERRCODE="Failed to download findardop script"; errors; return; }
chmod +x $USERDIR/findardop && sudo mv $USERDIR/findardop /usr/local/bin/ ||
chmod +x $USERDIR/findardop && sudo mv $USERDIR/findardop /usr/local/bin/ ||
{ ERRCODE="Failed to add findardop to /usr/local/bin"; errors; return; }
fi
if ! hash getvaralist; then
wget -P $USERDIR -N https://gist.githubusercontent.com/km4ack/2b5db90724cab67\
ed50cbf48ed223efd/raw/efe402285290b46c700d9d29e285c0686b79314f/getardoplist ||
{ ERRCODE="Failed to download getardoplist script"; errors; return; }
sed -i 's/ardop/vara/g' $USERDIR/getardoplist >> $USERDIR/getvaralist ||
{ ERRCODE="Failed to clone and modify getardop to gitvara"; errors; return; }
chmod +x $USERDIR/getvaralist && sudo mv $USERDIR/getvaralist /usr/local/bin/ ||
{ ERRCODE="Failed to add getvaralist to /usr/local/bin"; errors; return; }
fi
# Get find ardop script
if ! hash findvara; then
wget -P $USERDIR -N https://gist.githubusercontent.com/km4ack/7af44d08d95215d\
a45be3e69decf6def/raw/1aeff0d78f85e86b868a4ba83ebce99e90532f48/findardop ||
{ ERRCODE="Failed to download findardop script"; errors; return; }
sed -i 's/ardop/vara/g' $USERDIR/findardop >> $USERDIR/findvara ||
{ ERRCODE="Failed to clone and modify getardop to gitvara"; errors; return; }
chmod +x $USERDIR/findvara && sudo mv $USERDIR/findvara /usr/local/bin/ ||
{ ERRCODE="Failed to add findvara to /usr/local/bin"; errors; return; }
fi
echo ardoptools >> /tmp/cleanup
}
@@ -4509,8 +4537,8 @@ Setup JS8Call first then determine the location of the DIRECTED.TXT file for you
ardoptools)
TITLE="KM4ACK Find Ardop"
TEXT="KM4ACK's script has been installed. The commands are getardoplist \
and findardop.
TEXT="KM4ACK's script has been installed and a modified version for Vara created. The commands are getardoplist / findardop \
getvaralist / findvara.
This requires PAT to be installed and configured in order to work properly.
@@ -4523,6 +4551,7 @@ Select your favorite editor, nano is easy.
Add the following to the bottom:
30 23 * * * /usr/local/bin/getardoplist
30 23 * * * /usr/local/bin/getvaralist
Save and exit
+1 -1
View File
@@ -1,5 +1,5 @@
# Version 1.0.2
- Updated FL Suite links as updates are no longer being sent to sourceforge. JS8Call now compiles with Hamlib 4.6.1. Hamlib 4.5.5 no longer default. Option left in menu for now.
- Updated FL Suite links as updates are no longer being sent to sourceforge. JS8Call now compiles with Hamlib 4.6.1. Hamlib 4.5.5 no longer default. Option left in menu for now. Added getvaralist / findvara commands for offline vara winlink station lists.
# Version 1.0.1
- Added cleaned version of commstat database to get rid of old entries. Update to PDF.
# Version 1.0