mirror of
https://github.com/km4ack/patmenu2.git
synced 2025-05-16 14:50:13 -07:00
add modem installed check
This commit is contained in:
parent
66e9984954
commit
8b6e9c7093
@ -7,6 +7,15 @@ MYPATH=$HOME/patmenu2
|
|||||||
LOGO=$MYPATH/pmlogo.png
|
LOGO=$MYPATH/pmlogo.png
|
||||||
source $MYPATH/config
|
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
|
#Check if FLRIG is running if user has it set in config file
|
||||||
if [ "$RIGCONTROL" = 'yes' ]; then
|
if [ "$RIGCONTROL" = 'yes' ]; then
|
||||||
echo "rig control is on"
|
echo "rig control is on"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user