kopia lustrzana https://github.com/km4ack/pi-build
update GPS section
rodzic
d5ff23a911
commit
cd65b1bc70
6
update
6
update
|
@ -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" \
|
||||
|
|
Ładowanie…
Reference in New Issue