Allow user customization of map locations via SXMO_GPSLOCATIONSFILES
This commit is contained in:
parent
b80ce9e872
commit
00e09e6897
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
SXMO_GPSLOCATIONSFILE="/usr/share/sxmo/places_for_gps.tsv"
|
||||
[ -z "$SXMO_GPSLOCATIONSFILES" ] && SXMO_GPSLOCATIONSFILES="/usr/share/sxmo/places_for_gps.tsv"
|
||||
CTILESIZE=256
|
||||
CLN2=0.693147180559945309417
|
||||
CPI=3.14159265358979323846
|
||||
|
@ -181,7 +181,7 @@ menulocations() {
|
|||
CHOICE="$(
|
||||
printf %b "$(
|
||||
echo "Close Menu";
|
||||
cat "$SXMO_GPSLOCATIONSFILE";
|
||||
echo "$SXMO_GPSLOCATIONSFILES" | tr "," "\n" | xargs cat
|
||||
)" |
|
||||
grep -vE '^#' |
|
||||
sed "s/\t/: /g" |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue