mirror of
https://github.com/km4ack/patmenu2.git
synced 2025-05-27 20:10:11 -07:00
add modem installed check
This commit is contained in:
parent
1ab6f71307
commit
66e9984954
@ -7,6 +7,14 @@ MYPATH=$HOME/patmenu2
|
||||
LOGO=$MYPATH/pmlogo.png
|
||||
source $MYPATH/config
|
||||
|
||||
if [ ! -f $HOME/.wine/drive_c/VARA\ FM/VARAFM.exe ]; then
|
||||
yad --title="FAILED" --width=400 --height=100 \
|
||||
--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \
|
||||
--center --form --text="VARA FM 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user