update GPS section

pull/147/head
KM4ACK 2020-09-09 08:49:55 -05:00
rodzic d5ff23a911
commit cd65b1bc70
1 zmienionych plików z 4 dodań i 2 usunięć

6
update
Wyświetl plik

@ -772,8 +772,7 @@ echo "HSPASS=$HSPASS" >> $CONFIG
###################################
GPSINSTALL=$(cat $BASE | grep GPS)
if [ -n "$GPSINSTALL" ]; then
USB=$(ls /dev/serial/by-id)
USB=$(echo $USB | sed "s/\s/|/g")
yad --center --height="300" --width="300" --form --separator="|" --item-separator="|" --title="GPS" \
--image $LOGO --window-icon=$LOGO --image-on-top \
@ -786,6 +785,9 @@ if [ $BUT = 1 ] || [ $BUT = 252 ]; then
exit
fi
USB=$(ls /dev/serial/by-id)
USB=$(echo $USB | sed "s/\s/|/g")
GPS=$(yad --center --height="600" --width="300" --form --separator="|" --item-separator="|" --title="GPS" \
--image $LOGO --window-icon=$LOGO --image-on-top \
--text="Choose Your GPS" \