1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-15 22:30:11 -07:00

fix false failure

This commit is contained in:
KM4ACK 2023-02-16 07:16:29 -06:00
parent a7a726e243
commit 4984a08472

View File

@ -32,7 +32,7 @@ FLRIG=$(echo $RIG | grep "\-m 4")
fi
#Check if modem is already running
MODEMCHECK=$(ps aux | grep -i box86 | grep -i varafm)
MODEMCHECK=$(ps aux | grep -i wine | grep -i varafm)
if [ ! -z "$MODEMCHECK" ]; then
yad --title="FAILED" --width=400 --height=100 \
--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \
@ -111,7 +111,7 @@ echo "starting VARA-FM"
sleep 7 #give vara time to start
#verify vara has started
PIDVARA=$(ps aux | grep -i box86 | grep -i varafm)
PIDVARA=$(ps aux | grep -i wine | grep -i varafm)
if [ -z "$PIDVARA" ]
then
yad --title="FAILED" --width=400 --height=100 \