1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-16 06:40:10 -07:00

add modem installed check

This commit is contained in:
KM4ACK 2022-09-07 11:45:00 -05:00
parent 66e9984954
commit 8b6e9c7093

View File

@ -7,6 +7,15 @@ MYPATH=$HOME/patmenu2
LOGO=$MYPATH/pmlogo.png
source $MYPATH/config
#check if VARA HF modem is installed
if [ ! -f $HOME/.wine/drive_c/VARA/VARA.exe ]; then
yad --title="FAILED" --width=400 --height=100 \
--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \
--center --form --text="VARA Modem not installed" \
--button=gtk-ok
exit
fi
#Check if FLRIG is running if user has it set in config file
if [ "$RIGCONTROL" = 'yes' ]; then
echo "rig control is on"