update GPS section

pull/147/head
KM4ACK 2020-09-09 08:48:48 -05:00
rodzic c547008c75
commit d5ff23a911
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -264,8 +264,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 \
@ -277,7 +276,8 @@ BUT=$?
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 \